entity_id stringlengths 36 36 | source_system stringclasses 3
values | raw_snippet stringlengths 1 9.23M | normalized_structure stringlengths 1 9.23M | applied_algorithm stringclasses 3
values | complexity stringclasses 11
values | ast_metadata stringlengths 2 704 | nl_alignment stringlengths 2 150k | security_context stringlengths 238 304k | data_flow_graph stringlengths 2 4.44M | code_hash stringlengths 64 64 | created_at stringlengths 25 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|
a7561d7b-f070-4d89-ac71-b85ca2e23935 | GITHUB | #ifndef DIALOG_CONTROLLER_H
#define DIALOG_CONTROLLER_H
// Dialog controller initialization and cleanup
void dialog_controller_init(void);
void dialog_controller_reset(void);
void dialog_controller_free(void);
// Dialog management
void dialog_controller_speak(const char* text, int style, float activeTime, bool intera... | #ifndef VAR_1
#define VAR_1
void FUNC_1(void);
void FUNC_2(void);
void FUNC_3(void);
void FUNC_4(const char* VAR_6, int VAR_7, float VAR_8, bool VAR_9, bool end);
bool FUNC_5(void);
void FUNC_6(void);
void FUNC_7(void);
void FUNC_8(void);
void FUNC_9(bool VAR_15, int VAR_16, int VAR_17, int VAR_18, int VAR_19);
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 136, "tree_depth": 8, "variables_renamed": 19, "functions_renamed": 9, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | d1e86b9848a55efe0599366b3c22d5a1483809b401b3ac130765b0667c7d0250 | 2026-06-03T02:33:50.201950+00:00 |
055219af-2570-4ac2-aeaa-a2638e712330 | GITHUB | #include "scene_controller.h"
#include "../scenes/title_scene.h"
#include "../scenes/scene.h"
static SceneControllerSceneId s_active_scene = SCENE_CONTROLLER_SCENE_TITLE;
void scene_controller_switch_to_title(void)
{
if (s_active_scene == SCENE_CONTROLLER_SCENE_TITLE) {
title_scene_exit();
} else if ... | #include "scene_controller.h"
#include "../scenes/title_scene.h"
#include "../scenes/scene.h"
static TYPE_1 VAR_1 = VAR_3;
void FUNC_1(void)
{
if (VAR_1 == VAR_3) {
FUNC_2();
} else if (VAR_1 == VAR_4) {
FUNC_3();
}
VAR_1 = VAR_3;
FUNC_4();
}
static void FUNC_5(void)
{
FUNC_2();
... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 361, "tree_depth": 12, "variables_renamed": 2, "functions_renamed": 17, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content scene_controller.h ) string_cont... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [{"from": "SCENE_CONTROLLER_SCENE_TITLE", "to": "s_active_scene", "type": "assignment"}, {"from": "SCENE_CONTROLLER_SCENE_TITLE", "to": "s_active_scene", "type": "propagation"}, {"from": "SCENE_CONTROLLER_SCENE_GUARDIAN", "to": "s_active_scene", "type": "propagation"}, {"from": "SCENE_CONTROLLER_SCENE_TITLE", "to": "s_... | fdfe0b93b7bb1f48917e0f126e39591e658170004dc87cd3281cb84b32ff69b9 | 2026-06-03T02:33:57.828582+00:00 |
e237c00b-aa92-4241-8e5d-ba219c8ef971 | GITHUB | #ifndef SCENE_CONTROLLER_H
#define SCENE_CONTROLLER_H
#include <t3d/t3d.h>
typedef enum {
SCENE_CONTROLLER_SCENE_TITLE = 0,
SCENE_CONTROLLER_SCENE_GUARDIAN,
} SceneControllerSceneId;
void scene_controller_init(void);
void scene_controller_update(void);
void scene_controller_draw(T3DViewport *viewport);
void ... | #ifndef VAR_1
#define VAR_1
#include <t3d/t3d.h>
typedef enum {
VAR_9 = 0,
VAR_10,
} TYPE_1;
void FUNC_1(void);
void FUNC_2(void);
void FUNC_3(TYPE_2 *VAR_5);
void FUNC_4(void);
void FUNC_5(void);
TYPE_1 FUNC_6(void);
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 91, "tree_depth": 8, "variables_renamed": 8, "functions_renamed": 6, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier ... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | ed3250c9fd9acd83ff08db19aeb91aede7b0003a34e4ff5c64cf2d689e1b8ec3 | 2026-06-03T02:34:04.007407+00:00 |
63a0c16c-3ed2-4897-96ec-7533a26b2059 | GITHUB | #include "video_controller.h"
bool hdAspect = false;
// User-adjustable UI overscan padding (pixels); default widest UI in safe range.
int8_t uiOverscanX = UI_OVERSCAN_MIN;
int8_t uiOverscanY = UI_OVERSCAN_MIN;
| #include "video_controller.h"
bool VAR_1 = false;
int8_t VAR_2 = VAR_4;
int8_t VAR_3 = VAR_4; | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 28, "tree_depth": 4, "variables_renamed": 3, "functions_renamed": 0, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content video_controller.h ) string_content... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [{"from": "UI_OVERSCAN_MIN", "to": "uiOverscanX", "type": "assignment"}, {"from": "UI_OVERSCAN_MIN", "to": "uiOverscanY", "type": "assignment"}] | 35ecc2992369ec4bd4c2aa5bf8ce73b9c789ac7b553d7758a55a80abd80eb252 | 2026-06-03T02:34:09.841587+00:00 |
7fdaccd6-61f7-4efb-ab2e-f57003486010 | GITHUB | #ifndef VIDEO_CONTROLLER_H
#define VIDEO_CONTROLLER_H
#include <stdbool.h>
#include <stdint.h>
/**
* Video/UI-related user settings.
*
* Persistence:
* - `uiOverscanX/Y` and `hdAspect` are persisted in EEPROM via `save_controller.*`.
*/
// Render aspect toggle used by camera/projection and menu setting.
extern ... | #ifndef VAR_1
#define VAR_1
#include <stdbool.h>
#include <stdint.h>
extern bool VAR_2;
#define VAR_3 -15
extern int8_t VAR_4;
extern int8_t VAR_5;
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 36, "tree_depth": 5, "variables_renamed": 5, "functions_renamed": 0, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier ... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 6cf2ed55364e363a3c982a05a2e216321ce7f5e648381a24e903f58dc64a5488 | 2026-06-03T02:34:15.415349+00:00 |
5dc8e2e3-5541-4c11-901f-be1403def249 | GITHUB | #include "crt_safe_area_overlay.h"
static void DrawRectOutline(int x0, int y0, int x1, int y1, color_t color)
{
if (x1 < x0 || y1 < y0) return;
rdpq_set_prim_color(color);
// Treat (x0,y0)->(x1,y1) as inclusive coordinates.
const int x2 = x1 + 1;
const int y2 = y1 + 1;
// Top / bottom (1px)
... | #include "crt_safe_area_overlay.h"
static void FUNC_1(int VAR_1, int VAR_2, int VAR_3, int VAR_4, TYPE_1 VAR_5)
{
if (VAR_3 < VAR_1 || VAR_4 < VAR_2) return;
FUNC_2(VAR_5);
const int VAR_29 = VAR_3 + 1;
const int VAR_30 = VAR_4 + 1;
FUNC_3(VAR_1, VAR_2, VAR_29, VAR_2 + 1);
FUNC_3(VAR_1, VAR_4, V... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 536, "tree_depth": 9, "variables_renamed": 28, "functions_renamed": 7, "types_renamed": 1, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content crt_safe_area_overlay.h ) string_... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [{"from": "color", "to": "rdpq_set_prim_color", "type": "call_arg"}, {"from": "x0", "to": "rdpq_fill_rectangle", "type": "call_arg"}, {"from": "y0", "to": "rdpq_fill_rectangle", "type": "call_arg"}, {"from": "x2", "to": "rdpq_fill_rectangle", "type": "call_arg"}, {"from": "y0", "to": "rdpq_fill_rectangle", "type": "cal... | da5daa31d066f19cdd83cc2bb07659c3875f53ae5340251361e8af19f42ff986 | 2026-06-03T02:34:23.261538+00:00 |
e303ff63-333b-4bd4-a788-76a2c61187b0 | GITHUB | #ifndef CRT_SAFE_AREA_OVERLAY_H
#define CRT_SAFE_AREA_OVERLAY_H
#include <libdragon.h>
void DrawCrtSafeAreaOverlay(int screenW, int screenH);
#endif
| #ifndef VAR_1
#define VAR_1
#include <libdragon.h>
void FUNC_1(int VAR_3, int VAR_4);
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 26, "tree_depth": 7, "variables_renamed": 4, "functions_renamed": 1, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier ... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | a38c680a81c5518df1cfb5a7a0dd256e9e9fabcc27596ce267b64f3262523399 | 2026-06-03T02:34:29.297306+00:00 |
15d2a039-1354-4ec1-b3eb-8978508e5e8f | GITHUB | #include "debug_draw.h"
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dmath.h>
#include <stdlib.h> // abs()
#include "globals.h"
#include "game_math.h"
#include "display_utility.h"
#include "simple_collision_utility.h"
#include <math.h> // for isfinite
uint16_t DEBUG_COLORS[6] = {
0... | #include "debug_draw.h"
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dmath.h>
#include <stdlib.h> // abs()
#include "globals.h"
#include "game_math.h"
#include "display_utility.h"
#include "simple_collision_utility.h"
#include <math.h> // for isfinite
uint16_t VAR_1[6] = {
0xf800,
0... | github_ast_structnorm | n log n | {"language": "cpp", "total_nodes": 3506, "tree_depth": 17, "variables_renamed": 71, "functions_renamed": 21, "types_renamed": 3, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content debug_draw.h ) string_content (... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [{"from": "display_get_width", "to": "width", "type": "assignment"}, {"from": "display_get_height", "to": "height", "type": "assignment"}, {"from": "dx", "to": "abs", "type": "call_arg"}, {"from": "dy", "to": "abs", "type": "call_arg"}, {"from": "dx", "to": "abs", "type": "call_arg"}, {"from": "dy", "to": "abs", "type"... | 55fec672cf45ecab8f28a71181604462faa3554c159994945de720a49c0e3626 | 2026-06-03T02:34:35.904387+00:00 |
6eab1e21-f584-4672-a64b-5b83357da9a1 | GITHUB | #ifndef DEBUG_DRAW_H
#define DEBUG_DRAW_H
#include <stdint.h>
#include <t3d/t3d.h>
#include "game_math.h"
// Simple AABB type in game space
typedef struct {
T3DVec3 min;
T3DVec3 max;
} AABB;
typedef struct {
T3DVec3 center; // world center
T3DVec3 half; // half extents (x,y,z)
... | #ifndef VAR_1
#define VAR_1
#include <stdint.h>
#include <t3d/t3d.h>
#include "game_math.h"
typedef struct {
TYPE_1 VAR_5;
TYPE_1 VAR_6;
} TYPE_2;
typedef struct {
TYPE_1 VAR_9;
TYPE_1 VAR_28;
float VAR_29;
} TYPE_3;
extern uint16_t VAR_2[6];
void FUNC_1(
TYPE_4 *VAR... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 319, "tree_depth": 8, "variables_renamed": 27, "functions_renamed": 7, "types_renamed": 4, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member 'OBB::yaw' is never used.\" verbose=\"struct member 'OBB::yaw' is never used.\" cwe=\"563\" file0=\"C:/Users/SMAILB~1/AppData/Loca... | [] | fbf5001a2b1e8825bef30aace5437ee5715c5c5829e73b941a33ab09a5871821 | 2026-06-03T02:34:41.923787+00:00 |
4bacaad5-68e8-4e26-95bf-881bca660f2a | GITHUB | /**
* @copyright 2024 - Max Bebök
* @license MIT
*/
#ifndef DEBUG_OVERLAY_H
#define DEBUG_OVERLAY_H
#include <libdragon.h>
typedef struct {
uint32_t calls;
int32_t timeUs;
uint32_t index;
color_t color;
bool isIdle;
const char *name;
} ProfileSlot;
const static color_t THEME_COLORS[10] = {
(color_t){ 0... | #ifndef VAR_1
#define VAR_1
#include <libdragon.h>
typedef struct {
uint32_t VAR_72;
int32_t VAR_73;
uint32_t VAR_24;
TYPE_1 VAR_7;
bool VAR_74;
const char *VAR_75;
} TYPE_2;
const static TYPE_1 VAR_2[10] = {
(TYPE_1){ 0xd4, 0x3d, 0x51, 0xff},
(TYPE_1){ 0xea, 0x7e, 0x54, 0xff},
(TYPE_1){ 0xf7, 0xb8, 0... | github_ast_structnorm | n log n | {"language": "cpp", "total_nodes": 3552, "tree_depth": 18, "variables_renamed": 67, "functions_renamed": 24, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"cstyleCast\" severity=\"style\" msg=\"C-style pointer casting\" verbose=\"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_cast and re... | [{"from": "x", "to": "rdpq_fill_rectangle", "type": "call_arg"}, {"from": "y", "to": "rdpq_fill_rectangle", "type": "call_arg"}, {"from": "x", "to": "rdpq_fill_rectangle", "type": "call_arg"}, {"from": "y", "to": "rdpq_fill_rectangle", "type": "call_arg"}, {"from": "x", "to": "rdpq_fill_rectangle", "type": "call_arg"},... | 58cdce5dd5d65b11d89b8e6dfca5303ef2f42e231267b05feab750ccc170f0d1 | 2026-06-03T02:34:48.332139+00:00 |
233b984d-6510-4548-8d36-c12464d00542 | GITHUB | #include <stdbool.h>
#include <libdragon.h>
#include <rspq_profile.h>
#include <t3d/t3d.h>
#include <t3d/t3dmodel.h>
#include <t3d/t3ddebug.h>
#include <malloc.h>
#include "dev.h"
#include "debug_overlay.h"
#include "debug_draw.h"
#include "collision_mesh.h"
#include "camera_controller.h"
#include "character.h"
#incl... | #include <stdbool.h>
#include <libdragon.h>
#include <rspq_profile.h>
#include <t3d/t3d.h>
#include <t3d/t3dmodel.h>
#include <t3d/t3ddebug.h>
#include <malloc.h>
#include "dev.h"
#include "debug_overlay.h"
#include "debug_draw.h"
#include "collision_mesh.h"
#include "camera_controller.h"
#include "character.h"
#includ... | github_ast_structnorm | n | {"language": "cpp", "total_nodes": 4523, "tree_depth": 21, "variables_renamed": 48, "functions_renamed": 60, "types_renamed": 9, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <stdbool.h> ) system_lib_string ) preproc_include ( prepr... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unreadVariable\" severity=\"style\" msg=\"Variable 'buttonPressed' is assigned a value that is never used.\" verbose=\"Variable 'buttonPressed' is assigned a value that is never used.\" cwe=... | [{"from": "DEV_NONE", "to": "controlling", "type": "assignment"}, {"from": "heap_snapshot", "to": "sys_get_heap_stats", "type": "call_arg"}, {"from": "t3d_model_load", "to": "devArrow", "type": "assignment"}, {"from": "devArrow", "to": "t3d_model_draw", "type": "call_arg"}, {"from": "rspq_block_end", "to": "dplDevArrow... | 04105dc9d05a4a3f1f7ae3777b33b18e965fce951b17eafd9a759e0b7f7ca3f3 | 2026-06-03T02:34:56.249721+00:00 |
7c2b1ca3-a4f9-4062-8dff-e06c54eef612 | GITHUB | #ifndef DEV_H
#define DEV_H
#include <stdbool.h>
extern bool showingCollisionMesh;
extern bool debugDraw;
void dev_tools_init(void);
void dev_models_init(void);
void dev_update(void);
void dev_draw_update(T3DViewport *viewport);
void dev_draw_debug_update(T3DViewport *viewport);
void dev_frame_update(... | #ifndef VAR_1
#define VAR_1
#include <stdbool.h>
extern bool VAR_2;
extern bool VAR_3;
void FUNC_1(void);
void FUNC_2(void);
void FUNC_3(void);
void FUNC_4(TYPE_1 *VAR_8);
void FUNC_5(TYPE_1 *VAR_8);
void FUNC_6(void);
void FUNC_7(void);
void FUNC_8(void);
void FUNC_9(void);
bool FUNC_10(void);
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 129, "tree_depth": 8, "variables_renamed": 14, "functions_renamed": 10, "types_renamed": 1, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 400ad773d289d3525d4f967f70328526b22f6c3f89cc8398013d06941e245c3c | 2026-06-03T02:35:02.416245+00:00 |
a649c55d-0420-4c75-b738-82ad686cf298 | GITHUB | #include "blood_particles_fx.h"
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dmath.h>
#include <t3d/tpx.h>
#include <math.h>
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "../utilities/general_utility.h"
#define BLOOD_PARTICLES_FX_CUTOUT 0
enum {
BLOOD_PARTICLES_FX_MAX =... | #include "blood_particles_fx.h"
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dmath.h>
#include <t3d/tpx.h>
#include <math.h>
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "../utilities/general_utility.h"
#define VAR_1 0
enum {
VAR_3 = 48,
VAR_81 = 3,
VAR_5 = 6
};
typed... | github_ast_structnorm | n log n | {"language": "cpp", "total_nodes": 4492, "tree_depth": 18, "variables_renamed": 57, "functions_renamed": 63, "types_renamed": 7, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content blood_particles_fx.h ) string_... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-758", "CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"memsetClassFloat\" severity=\"portability\" msg=\"Using memset() on struct which contains a floating point number.\" verbose=\"Using memset() on struct which contains a floating point number. This is... | [{"from": "blood_particles_fx_life01", "to": "t", "type": "assignment"}, {"from": "p", "to": "blood_particles_fx_life01", "type": "call_arg"}, {"from": "blood_particles_fx_clampf", "to": "u", "type": "assignment"}, {"from": "u", "to": "blood_particles_fx_clampf", "type": "call_arg"}, {"from": "blood_particles_fx_clampf... | f9832b88e9eb847bc99c2c2645ae3e8486dd24039b5792495f69a1b6d97d4819 | 2026-06-03T02:35:08.448180+00:00 |
7abf35c1-cdcd-4994-b260-0b1f38e2902d | GITHUB | #ifndef BLOOD_PARTICLES_FX_H
#define BLOOD_PARTICLES_FX_H
#include <t3d/t3d.h>
void blood_particles_fx_init(void);
void blood_particles_fx_cleanup(void);
void blood_particles_fx_reset(void);
void blood_particles_fx_update(float dt);
void blood_particles_fx_draw(T3DViewport *viewport);
void blood_particles_fx_spawn_b... | #ifndef VAR_1
#define VAR_1
#include <t3d/t3d.h>
void FUNC_1(void);
void FUNC_2(void);
void FUNC_3(void);
void FUNC_4(float VAR_6);
void FUNC_5(TYPE_1 *VAR_8);
void FUNC_6(float VAR_10, float VAR_11, float VAR_12, float VAR_13);
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 88, "tree_depth": 8, "variables_renamed": 13, "functions_renamed": 6, "types_renamed": 1, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | a070b1efcda0ac08894ee868f4be5714869fcd43de199228f2c3cb9768163985 | 2026-06-03T02:35:14.435115+00:00 |
f0d48eff-aea3-494f-b493-863866d2a294 | GITHUB | #include "dust_particles_fx.h"
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dmath.h>
#include <t3d/tpx.h>
#include <math.h>
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "../utilities/general_utility.h"
#define DUST_PARTICLES_FX_FORCE_UNTEXTURED 0
enum {
DUST_PARTICLES_F... | #include "dust_particles_fx.h"
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dmath.h>
#include <t3d/tpx.h>
#include <math.h>
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "../utilities/general_utility.h"
#define VAR_1 0
enum {
VAR_3 = 64,
VAR_82 = 3,
VAR_83 = 8
};
typed... | github_ast_structnorm | n^2 log n | {"language": "cpp", "total_nodes": 3849, "tree_depth": 16, "variables_renamed": 63, "functions_renamed": 59, "types_renamed": 7, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content dust_particles_fx.h ) string_c... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-758", "CWE-398", "CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"memsetClassFloat\" severity=\"portability\" msg=\"Using memset() on struct which contains a floating point number.\" verbose=\"Using memset() on struct which contains a floating point numb... | [{"from": "dust_particles_fx_life01", "to": "t", "type": "assignment"}, {"from": "p", "to": "dust_particles_fx_life01", "type": "call_arg"}, {"from": "dust_particles_fx_clampf", "to": "a", "type": "assignment"}, {"from": "a", "to": "dust_particles_fx_clampf", "type": "call_arg"}, {"from": "i", "to": "oldest", "type": "... | 05cdd4576f052205a99235114b646079408d0608b9e3c56e80b8c51fb4cca88c | 2026-06-03T02:35:20.583477+00:00 |
0d7c54b4-44f1-444b-b25d-dc6cc35cdf70 | GITHUB | #ifndef DUST_PARTICLES_FX_H
#define DUST_PARTICLES_FX_H
#include <t3d/t3d.h>
void dust_particles_fx_init(void);
void dust_particles_fx_cleanup(void);
void dust_particles_fx_reset(void);
void dust_particles_fx_update(float dt);
void dust_particles_fx_draw(T3DViewport *viewport);
void dust_particles_fx_spawn_burst(flo... | #ifndef VAR_1
#define VAR_1
#include <t3d/t3d.h>
void FUNC_1(void);
void FUNC_2(void);
void FUNC_3(void);
void FUNC_4(float VAR_6);
void FUNC_5(TYPE_1 *VAR_8);
void FUNC_6(float VAR_10, float VAR_11, float VAR_12, float VAR_13);
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 88, "tree_depth": 8, "variables_renamed": 13, "functions_renamed": 6, "types_renamed": 1, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 5101766ac9640bb0973c7e3d8c3674034f5dcce10160ff61ba5a7d92fa826087 | 2026-06-03T02:35:26.432586+00:00 |
b8933af4-d330-4c41-bef6-c933d620d216 | GITHUB | // fx/lightning_fx.c
#include "fx/lightning_fx.h"
#include <t3d/t3d.h>
#include <t3d/t3dmodel.h>
#include <libdragon.h>
#include <rdpq.h>
#include <assert.h>
#include <math.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include "globals.h"
// ------------------------------------------------------... | #include "fx/lightning_fx.h"
#include <t3d/t3d.h>
#include <t3d/t3dmodel.h>
#include <libdragon.h>
#include <rdpq.h>
#include <assert.h>
#include <math.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include "globals.h"
#ifndef VAR_1
#define VAR_1 2.0f
#endif
#ifndef VAR_2
#define VAR_2 0.25f
#endif
#i... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 2585, "tree_depth": 14, "variables_renamed": 40, "functions_renamed": 35, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content fx/lightning_fx.h ) string_con... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-758", "CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"memsetClassFloat\" severity=\"portability\" msg=\"Using memset() on struct which contains a floating point number.\" verbose=\"Using memset() on struct which contains a floating point number. This is... | [{"from": "malloc_uncached", "to": "base", "type": "assignment"}, {"from": "bytes", "to": "malloc_uncached", "type": "call_arg"}, {"from": "base", "to": "out_base", "type": "propagation"}, {"from": "x", "to": "s", "type": "propagation"}, {"from": "xorshift32", "to": "r", "type": "assignment"}, {"from": "s", "to": "xors... | 02b857aedefa483d03c7a6a2f50490358f2596dfa40e81cf6462c0ab94aeb213 | 2026-06-03T02:35:32.116669+00:00 |
6c789f66-869c-4d55-b081-fe6048a69a35 | GITHUB | #ifndef LIGHTNING_FX
#define LIGHTNING_FX
#include <stdbool.h>
void lightning_fx_system_init(const char* rom_model_path);
void lightning_fx_system_shutdown(void);
void lightning_fx_system_update(float dt);
void lightning_fx_system_draw(void);
void lightning_fx_system_ring_enable(bool enabled);
void lightning_fx_sys... | #ifndef VAR_1
#define VAR_1
#include <stdbool.h>
void FUNC_1(const char* VAR_3);
void FUNC_2(void);
void FUNC_3(float VAR_6);
void FUNC_4(void);
void FUNC_5(bool VAR_9);
void FUNC_6(float VAR_11, float VAR_12, float VAR_13,
float VAR_14, float VAR_15);
void FUNC_7(float VAR_17, floa... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 128, "tree_depth": 8, "variables_renamed": 20, "functions_renamed": 8, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 9e097fa41034b3817cd72cd32b5ee2ca920c17824dcd0845d18cae35c3dbbbef | 2026-06-03T02:35:38.962768+00:00 |
4be7bef2-38c4-4aa0-8801-aee6523c8094 | GITHUB | #include "boss.h"
#include "boss_ai.h"
#include "boss_anim.h"
#include "boss_render.h"
#include "boss_attacks.h"
#include <libdragon.h>
#include <t3d/t3dmath.h>
#include <t3d/t3dskeleton.h>
#include <t3d/t3danim.h>
#include <t3d/t3dmodel.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "game_time... | #include "boss.h"
#include "boss_ai.h"
#include "boss_anim.h"
#include "boss_render.h"
#include "boss_attacks.h"
#include <libdragon.h>
#include <t3d/t3dmath.h>
#include <t3d/t3dskeleton.h>
#include <t3d/t3danim.h>
#include <t3d/t3dmodel.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "game_time.h... | github_ast_structnorm | log n | {"language": "cpp", "total_nodes": 8353, "tree_depth": 19, "variables_renamed": 95, "functions_renamed": 79, "types_renamed": 12, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content boss.h ) string_content ( \" ... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-476", "CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"nullPointerOutOfMemory\" severity=\"warning\" msg=\"If memory allocation fails, then there is a possible null pointer dereference: skeleton\" verbose=\"If memory allocation fails, then there is a pos... | [{"from": "wrap_pi", "to": "d", "type": "assignment"}, {"from": "targetYaw", "to": "wrap_pi", "type": "call_arg"}, {"from": "maxTurn", "to": "d", "type": "propagation"}, {"from": "dz", "to": "atan2f", "type": "call_arg"}, {"from": "dx", "to": "atan2f", "type": "call_arg"}, {"from": "boss", "to": "boss_turn_towards_yaw"... | d1f35319ca1593679ae114af4d7204facf6a22117cf2d72da098003aef937045 | 2026-06-03T02:35:44.610020+00:00 |
765cefcc-fd59-499a-8ba8-cd7b0e00159d | GITHUB | #ifndef BOSS_H
#define BOSS_H
#include <libdragon.h>
#include <t3d/t3dmath.h>
#include "character.h" // For CapsuleCollider definition
// Shared enums that AI and Anim agree on - must be defined before Boss struct
typedef enum {
BOSS_STATE_INTRO,
BOSS_STATE_NEUTRAL,
BOSS_STATE_CHASE,
BOSS_STATE_STRAF... | #ifndef VAR_1
#define VAR_1
#include <libdragon.h>
#include <t3d/t3dmath.h>
#include "character.h" // For CapsuleCollider definition
typedef enum {
VAR_44,
VAR_45,
VAR_46,
VAR_47,
VAR_48,
VAR_49,
VAR_50,
VAR_51,
VAR_52,
VAR_53,
VAR_54,
VAR_55,
VAR_56,
VAR_57,
... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 1397, "tree_depth": 9, "variables_renamed": 43, "functions_renamed": 32, "types_renamed": 9, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member 'Boss::pos' is never used.\" verbose=\"struct member 'Boss::pos' is never used.\" cwe=\"563\" file0=\"C:/Users/SMAILB~1/AppData/Lo... | [] | 485b8c986be4ff8e0e2f721fe28c27ee9ba3ecd3505b7057566cb871044de81f | 2026-06-03T02:35:50.050740+00:00 |
d8e3f248-3d53-4642-8e0c-6d3ccad0e103 | GITHUB | /*
* boss_ai.c
*
* AI module - decides intent (states/attacks)
* Must NOT include tiny3d animation headers
*/
#include <t3d/t3dmath.h>
#include "boss_ai.h"
#include "boss.h"
#include "boss_sfx.h"
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "game_time.h"
#include "character.h"
#include "... | #include <t3d/t3dmath.h>
#include "boss_ai.h"
#include "boss.h"
#include "boss_sfx.h"
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "game_time.h"
#include "character.h"
#include "scene.h"
#include "simple_collision_utility.h"
#include "environmental_mechanics/multi_sword_attacks.h"
static void FUNC... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 10488, "tree_depth": 27, "variables_renamed": 91, "functions_renamed": 24, "types_renamed": 4, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <t3d/t3dmath.h> ) system_lib_string ) preproc_include ( ... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-570", "CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"multiCondition\" severity=\"style\" msg=\"Expression is always true because 'else if' condition is opposite to previous condition at line 824.\" verbose=\"Expression is always tr... | [{"from": "BOSS_STATE_INTRO", "to": "boss", "type": "propagation"}, {"from": "BOSS_ATTACK_COUNT", "to": "boss", "type": "propagation"}, {"from": "dz", "to": "atan2f", "type": "call_arg"}, {"from": "dx", "to": "atan2f", "type": "call_arg"}, {"from": "velX", "to": "character_get_velocity", "type": "call_arg"}, {"from": "... | 6b06e3984e570fcdfbd62a84885e47c65d38ddb6fd5ee669809405378dea8de8 | 2026-06-03T02:35:55.417025+00:00 |
7df86be6-0b27-4ca5-ba61-819057155930 | GITHUB | #ifndef BOSS_AI_H
#define BOSS_AI_H
#include "boss.h"
#include "boss_sfx.h"
// AI module - decides intent (states/attacks)
// Must NOT include tiny3d animation headers
void boss_ai_init(Boss* boss);
void boss_ai_update(Boss* boss, BossIntent* out_intent);
// Force the boss into the aerial sword barrage attack right... | #ifndef VAR_1
#define VAR_1
#include "boss.h"
#include "boss_sfx.h"
void FUNC_1(TYPE_1* VAR_3);
void FUNC_2(TYPE_1* VAR_3, TYPE_2* VAR_5);
void FUNC_3(TYPE_1* VAR_3);
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 65, "tree_depth": 8, "variables_renamed": 6, "functions_renamed": 3, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier ... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 531b73d75ea4b5955f6b0f0884ad5945ada2c76f95740c901f89888557c09b7a | 2026-06-03T02:36:00.992852+00:00 |
74473621-9180-404f-ac89-0990b2911ff7 | GITHUB | /*
* boss_anim.c
*
* ONLY file allowed to call:
* - t3d_anim_attach
* - t3d_skeleton_reset
* - Direct writes to currentAnimation, previousAnimation, blend vars
*
* This module owns all animation state and tiny3d animation structs.
*/
#include "boss_anim.h"
#include "boss.h"
#include <libdragon.h>
#include ... | #include "boss_anim.h"
#include "boss.h"
#include <libdragon.h>
#include <t3d/t3dskeleton.h>
#include <t3d/t3danim.h>
#include <math.h>
#include <string.h>
#include "game_time.h"
void FUNC_1(TYPE_1* VAR_1) {
if (!VAR_1) return;
if (VAR_1->VAR_30) {
TYPE_2** VAR_31 = (TYPE_2**)VAR_1->VAR_30;
for ... | github_ast_structnorm | n | {"language": "cpp", "total_nodes": 2208, "tree_depth": 21, "variables_renamed": 16, "functions_renamed": 10, "types_renamed": 5, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content boss_anim.h ) string_content (... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"cstyleCast\" severity=\"style\" msg=\"C-style pointer casting\" verbose=\"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_cast and re... | [{"from": "anims", "to": "t3d_anim_set_playing", "type": "call_arg"}, {"from": "anims", "to": "t3d_anim_set_time", "type": "call_arg"}, {"from": "BOSS_ANIM_KNEEL", "to": "boss", "type": "propagation"}, {"from": "BOSS_ANIM_KNEEL", "to": "boss", "type": "propagation"}, {"from": "BOSS_ANIM_PRIORITY_NORMAL", "to": "boss", ... | cb67aff884613ea50e716c5980715f971c1b3df818f2efae71243d9b1ba827cc | 2026-06-03T02:36:06.420714+00:00 |
1f3d9e23-4c74-4e3e-8add-91bfc61a4f3b | GITHUB | #ifndef BOSS_ANIM_H
#define BOSS_ANIM_H
#include "boss.h"
// Animation module - ONLY place that can touch t3d_anim_attach, t3d_skeleton_reset, blend flags, current/prev anim
// This module owns all animation state and tiny3d animation structs
void boss_anim_init(Boss* boss);
void boss_anim_request(Boss* boss, BossAn... | #ifndef VAR_1
#define VAR_1
#include "boss.h"
void FUNC_1(TYPE_1* VAR_3);
void FUNC_2(TYPE_1* VAR_3, TYPE_2 VAR_5, float VAR_6, bool VAR_7, TYPE_3 VAR_8);
void FUNC_3(TYPE_1* VAR_3);
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 69, "tree_depth": 8, "variables_renamed": 9, "functions_renamed": 3, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier ... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 3a792aeb15eff6d0c4c2721ce74f3955ce449b2b091810630a529754e62da450 | 2026-06-03T02:36:12.036083+00:00 |
e1270fbc-ca45-4d74-904a-6ac7ee143bab | GITHUB | /*
* boss_attacks.c
*
* Attack handler module - handles attack-specific logic and mechanics
* Updates boss state (position, rotation, velocity) during attacks
* Does NOT modify animation state (handled by boss_anim.c)
*/
#include "boss_attacks.h"
#include "boss.h"
#include <math.h>
#include <libdragon.h>
#inc... | #include "boss_attacks.h"
#include "boss.h"
#include <math.h>
#include <libdragon.h>
#include <t3d/t3dmath.h>
#include "systems/collision_system.h"
#include "character.h"
#include "scene_sfx.h" // TODO: make sfx entity specific
#include "environmental_effects/boss_ground_crush.h"
#include "fx/dust_particles_fx.h"
#incl... | github_ast_structnorm | log n | {"language": "cpp", "total_nodes": 11208, "tree_depth": 20, "variables_renamed": 179, "functions_renamed": 38, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content boss_attacks.h ) string_cont... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"duplicateExpressionTernary\" severity=\"style\" msg=\"Same expression in both branches of ternary operator.\" verbose=\"Finding the same expression in both branches of ternary operator is suspicious ... | [{"from": "sqrtf", "to": "d", "type": "assignment"}, {"from": "cosf", "to": "dirX", "type": "assignment"}, {"from": "sinf", "to": "dirZ", "type": "assignment"}, {"from": "cx", "to": "dust_particles_fx_spawn_burst", "type": "call_arg"}, {"from": "cz", "to": "dust_particles_fx_spawn_burst", "type": "call_arg"}, {"from": ... | 3f0969355599412346e7a6518690fdbbfa7bd6e604c313def44e9bde8640e454 | 2026-06-03T02:36:17.864280+00:00 |
41d95b06-c22d-4bdc-abec-349589aa8eb3 | GITHUB | #ifndef BOSS_ATTACKS_H
#define BOSS_ATTACKS_H
#include "boss.h" // For Boss struct
#include "boss_sfx.h"
// Attack handler module - handles attack-specific logic and mechanics
// This module updates boss state (position, rotation, velocity) during attacks
// but does NOT modify animation state (that's handled by boss_... | #ifndef VAR_1
#define VAR_1
#include "boss.h" // For Boss struct
#include "boss_sfx.h"
void FUNC_1(TYPE_1* VAR_3, float VAR_4);
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 38, "tree_depth": 8, "variables_renamed": 4, "functions_renamed": 1, "types_renamed": 1, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier ... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | a1ce130328e861326936951877f29453baaa547ff331f12137bd9f493983670d | 2026-06-03T02:36:23.492792+00:00 |
7aabc7fe-8ed4-43f5-bc3f-aa1eb51dc67f | GITHUB | #include "boss_render.h"
#include "boss.h"
#include "boss_ui.h"
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dskeleton.h>
#include <t3d/t3dmodel.h>
#include <math.h>
#include <ctype.h>
#include <string.h>
#include "dev.h"
#include "dev/debug_draw.h"
#include "character.h"
#include "globals.h"
#include ... | #include "boss_render.h"
#include "boss.h"
#include "boss_ui.h"
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dskeleton.h>
#include <t3d/t3dmodel.h>
#include <math.h>
#include <ctype.h>
#include <string.h>
#include "dev.h"
#include "dev/debug_draw.h"
#include "character.h"
#include "globals.h"
#include "g... | github_ast_structnorm | n | {"language": "cpp", "total_nodes": 3220, "tree_depth": 17, "variables_renamed": 56, "functions_renamed": 31, "types_renamed": 18, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content boss_render.h ) string_conten... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"cstyleCast\" severity=\"style\" msg=\"C-style pointer casting\" verbose=\"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_cast and re... | [{"from": "s_flashMats", "to": "free", "type": "call_arg"}, {"from": "s_flashOrigPrim", "to": "free", "type": "call_arg"}, {"from": "s_flashOrigFlags", "to": "free", "type": "call_arg"}, {"from": "t3d_model_iter_create", "to": "it", "type": "assignment"}, {"from": "model", "to": "t3d_model_iter_create", "type": "call_a... | 2b3faba9480d8223cbd07beb04b1216f25ad359477c881c22739c7fffbc01d36 | 2026-06-03T02:36:30.047524+00:00 |
e59a2576-2da9-4c35-a649-269e619b8d48 | GITHUB | #ifndef BOSS_RENDER_H
#define BOSS_RENDER_H
#include "boss.h"
// Render module - handles drawing and debug visualization
// Read-only access to Boss state
void boss_draw_init(void);
void boss_draw_shadow(Boss* boss);
void boss_render_draw(Boss* boss);
void boss_render_debug(Boss* boss, void* viewport); // T3DViewpor... | #ifndef VAR_1
#define VAR_1
#include "boss.h"
void FUNC_1(void);
void FUNC_2(TYPE_1* VAR_4);
void FUNC_3(TYPE_1* VAR_4);
void FUNC_4(TYPE_1* VAR_4, void* VAR_7);
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 69, "tree_depth": 8, "variables_renamed": 7, "functions_renamed": 4, "types_renamed": 1, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier ... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | ce7ad38442d9bf93027d477e9021d94f66f5250a908028a7c34e7252613d4ed8 | 2026-06-03T02:36:35.468330+00:00 |
1fc80621-bcf0-47ad-aa3c-b8d03c36fdb6 | GITHUB | #include "boss.h"
#include "boss_sfx.h"
#include "character.h"
#include "scene_sfx.h"
#include "game_time.h"
static bool bossAttackSfxPlayed = false;
static float audioTimer = 0.0f;
MultiSfx bossComboAttack1Sfx[] = {
{ SCENE1_SFX_BOSS_SWING4, 0.0f, false },
{ SCENE1_SFX_BOSS_SWING4, 1.6f, false },
{ S... | #include "boss.h"
#include "boss_sfx.h"
#include "character.h"
#include "scene_sfx.h"
#include "game_time.h"
static bool VAR_1 = false;
static float VAR_2 = 0.0f;
TYPE_1 VAR_3[] = {
{ VAR_18, 0.0f, false },
{ VAR_18, 1.6f, false },
{ VAR_19, 3.2f, false },
};
TYPE_1 VAR_4[] = {
{ VAR_18, 2.0f, false }... | github_ast_structnorm | n | {"language": "cpp", "total_nodes": 693, "tree_depth": 14, "variables_renamed": 16, "functions_renamed": 7, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content boss.h ) string_content ( \" \" ... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [{"from": "bossComboAttack1Sfx", "to": "reset_multi_sfx", "type": "call_arg"}, {"from": "bossFlipAttackSfx", "to": "reset_multi_sfx", "type": "call_arg"}, {"from": "bossJumpForwardSfx", "to": "reset_multi_sfx", "type": "call_arg"}, {"from": "bossSlowAttackSfx", "to": "reset_multi_sfx", "type": "call_arg"}, {"from": "sf... | a2a51f79eb1778b659083c3b84927b9a24bae7cada565ab2dd3086df100989bd | 2026-06-03T02:36:40.875759+00:00 |
5d6b1da2-01ed-44ab-a370-9c3b974a896e | GITHUB | #ifndef BOSS_SFX_H
#define BOSS_SFX_H
#include "boss.h"
#include "audio_controller.h"
extern MultiSfx bossComboAttack1Sfx[];
extern MultiSfx bossFlipAttackSfx[];
extern MultiSfx bossJumpForwardSfx[];
extern MultiSfx bossSlowAttackSfx[];
void boss_play_attack_sfx(Boss *boss, int sfxIndex, float audioTime);
void boss_... | #ifndef VAR_1
#define VAR_1
#include "boss.h"
#include "audio_controller.h"
extern TYPE_1 VAR_2[];
extern TYPE_1 VAR_3[];
extern TYPE_1 VAR_4[];
extern TYPE_1 VAR_5[];
void FUNC_1(TYPE_2 *VAR_7, int VAR_8, float VAR_9);
void FUNC_2(TYPE_2 *VAR_7, TYPE_1 *VAR_11, int VAR_12);
void FUNC_3(void);
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 110, "tree_depth": 8, "variables_renamed": 13, "functions_renamed": 3, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | ce9e14f71ff3ea517a10f8a9a74b3f724868250915daa8d380248959fb46e4a6 | 2026-06-03T02:36:47.532740+00:00 |
68da25c9-4346-4987-b589-f2d4b122eac2 | GITHUB | #include "boss_ui.h"
#include <libdragon.h>
#include "../../utilities/globals.h"
#include "../../utilities/game_time.h"
#include "../../utilities/video_layout.h"
#include "../../utilities/button_prompt_utility.h"
#define BOSS_UI_TRAIL_HOLD_TIME 0.35f
#define BOSS_UI_TRAIL_DECAY_RATE 0.6f
// Overall decorative frame... | #include "boss_ui.h"
#include <libdragon.h>
#include "../../utilities/globals.h"
#include "../../utilities/game_time.h"
#include "../../utilities/video_layout.h"
#include "../../utilities/button_prompt_utility.h"
#define VAR_1 0.35f
#define VAR_2 0.6f
#define VAR_3 200
#define VAR_4 0.45f
#define VAR_5 184
#define VAR_... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 4388, "tree_depth": 15, "variables_renamed": 93, "functions_renamed": 42, "types_renamed": 7, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content boss_ui.h ) string_content ( \... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"duplicateAssignExpression\" severity=\"style\" msg=\"Same expression used in consecutive assignments of 'endY' and 'midY'.\" verbose=\"Finding variables 'endY' and 'midY'... | [{"from": "boss_ui_clampf", "to": "ratio", "type": "assignment"}, {"from": "ratio", "to": "boss_ui_clampf", "type": "call_arg"}, {"from": "ratio", "to": "s", "type": "propagation"}, {"from": "ratio", "to": "s", "type": "propagation"}, {"from": "ratio", "to": "s", "type": "propagation"}, {"from": "boss_ui_clampf", "to":... | 9fb5696b8165272f8015830618241faf8f47a1b9c515839c2e1bb8d9bad247f6 | 2026-06-03T02:36:53.008639+00:00 |
ff208ff0-25e3-48f0-8004-9d9223f8b1df | GITHUB | #ifndef BOSS_UI_H
#define BOSS_UI_H
#include <stdbool.h>
#include <t3d/t3d.h>
#include <t3d/t3dmath.h>
void boss_ui_init(void);
void boss_ui_cleanup(void);
void boss_ui_reset(void);
void boss_ui_set_intro(float progress);
void boss_ui_snap_health_trail(float ratio);
void boss_ui_draw_health_bar(const char *name, f... | #ifndef VAR_1
#define VAR_1
#include <stdbool.h>
#include <t3d/t3d.h>
#include <t3d/t3dmath.h>
void FUNC_1(void);
void FUNC_2(void);
void FUNC_3(void);
void FUNC_4(float VAR_6);
void FUNC_5(float VAR_8);
void FUNC_6(const char *VAR_10, float VAR_8, float VAR_11);
void FUNC_7(
TYPE_1 *VAR_13,
const TYPE_2 *VAR_1... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 142, "tree_depth": 8, "variables_renamed": 16, "functions_renamed": 8, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 24fc68ffdf5d2f35b3726fb827a8030e966d3d388c170d3911f743611654ba98 | 2026-06-03T02:36:58.465315+00:00 |
363ee095-6148-4588-b4c6-d8a383ddd59b | GITHUB | #include "boss_ground_crush.h"
#include <stdbool.h>
#include <string.h>
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dmodel.h>
#include "../../../utilities/globals.h"
typedef struct {
bool active;
float pos[3];
float age;
float life;
float scale;
T3DMat4FP *mat;
} BossGround... | #include "boss_ground_crush.h"
#include <stdbool.h>
#include <string.h>
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dmodel.h>
#include "../../../utilities/globals.h"
typedef struct {
bool VAR_11;
float VAR_12[3];
float VAR_13;
float VAR_14;
float VAR_15;
TYPE_1 *VAR_16;
} TYPE_2;... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 796, "tree_depth": 12, "variables_renamed": 10, "functions_renamed": 15, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content boss_ground_crush.h ) string_co... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-758"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"memsetClassFloat\" severity=\"portability\" msg=\"Using memset() on struct which contains a floating point number.\" verbose=\"Using memset() on struct which contains a floating point number. This is not portab... | [{"from": "groundCrush", "to": "memset", "type": "call_arg"}, {"from": "malloc_uncached", "to": "groundCrush", "type": "assignment"}, {"from": "MODEL_SCALE", "to": "groundCrush", "type": "propagation"}, {"from": "t3d_model_load", "to": "groundCrushModel", "type": "assignment"}, {"from": "MODEL_SCALE", "to": "groundCrus... | 0ca7f47369b4cd18270cc64be005dc0c39eef03082ff013c8331b2cd4bc01883 | 2026-06-03T02:37:03.898147+00:00 |
2e1f9ed8-765e-4438-b5e1-8f8f2e3e5219 | GITHUB | #ifndef BOSS_GROUND_CRUSH_H
#define BOSS_GROUND_CRUSH_H
void boss_ground_crush_init(void);
void boss_ground_crush_reset(void);
void boss_ground_crush_update(float dt);
void boss_ground_crush_draw(void);
void boss_ground_crush_cleanup(void);
void boss_ground_crush_spawn(float x, float y, float z);
#endif | #ifndef VAR_1
#define VAR_1
void FUNC_1(void);
void FUNC_2(void);
void FUNC_3(float VAR_5);
void FUNC_4(void);
void FUNC_5(void);
void FUNC_6(float VAR_9, float VAR_10, float VAR_11);
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 78, "tree_depth": 7, "variables_renamed": 11, "functions_renamed": 6, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 48549f49e4c5bf15ef287188df81254ba8bc12ac33fb23b0d9ed7927d6db9839 | 2026-06-03T02:37:09.356443+00:00 |
a5212045-5f6b-4cf0-8005-ad57f1474cc7 | GITHUB | // src/game/bosses/environmental_mechanics/multi_sword_attacks.c
#include "multi_sword_attacks.h"
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dmodel.h>
#include <math.h>
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#include <rspq.h>
#include <rdpq.h>
#include <sprite.h>
#include <asser... | #include "multi_sword_attacks.h"
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dmodel.h>
#include <math.h>
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#include <rspq.h>
#include <rdpq.h>
#include <sprite.h>
#include <assert.h>
#include "character.h"
#include "simple_collision_utility.h"
#... | github_ast_structnorm | n^2 log n | {"language": "cpp", "total_nodes": 13939, "tree_depth": 22, "variables_renamed": 257, "functions_renamed": 91, "types_renamed": 15, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content multi_sword_attacks.h ) stri... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-758", "CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"memsetClassFloat\" severity=\"portability\" msg=\"Using memset() on struct which contains a floating point number.\" verbose=\"Using memset() on struct which contains a floating point number. This is... | [{"from": "MSA_PATTERN_GROUND_SWEEP", "to": "gPattern", "type": "assignment"}, {"from": "MSA_PHASE_CEILING_SETUP", "to": "gPhase", "type": "assignment"}, {"from": "malloc_uncached", "to": "base", "type": "assignment"}, {"from": "bytes", "to": "malloc_uncached", "type": "call_arg"}, {"from": "base", "to": "out_base", "t... | 14bc6bcf51badf47e30c71730516f0ad8e5361e8fd34c36540a1dab4520afc03 | 2026-06-03T02:37:16.329152+00:00 |
00684969-ccc9-47fc-8344-ad65558c5f2f | GITHUB | #ifndef MULTI_SWORD_ATTACKS
#define MULTI_SWORD_ATTACKS
#include <t3d/t3d.h>
#include <stdbool.h>
// Lifecycle
void msa_init(void);
void msa_shutdown(void);
// Main loop
void msa_update(float dt);
// Draws
void msa_draw_visuals(T3DViewport *viewport);
void msa_draw_debug(T3DViewport *viewport);
// Back-compat
void... | #ifndef VAR_1
#define VAR_1
#include <t3d/t3d.h>
#include <stdbool.h>
void FUNC_1(void);
void FUNC_2(void);
void FUNC_3(float VAR_5);
void FUNC_4(TYPE_1 *VAR_7);
void FUNC_5(TYPE_1 *VAR_7);
void FUNC_6(TYPE_1 *VAR_7);
void FUNC_7(bool VAR_11);
void FUNC_8(int VAR_13);
void FUNC_9(float VAR_15, float VAR_16);
void FUNC_... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 292, "tree_depth": 8, "variables_renamed": 35, "functions_renamed": 19, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 9f99220418bc063059ba5974908d0f166e0e18a38af68d7940ce48b472a8fe6c | 2026-06-03T02:37:22.490443+00:00 |
4c6a202f-ed67-4bed-8849-e450408f7897 | GITHUB | #include <libdragon.h>
#include <rspq_profile.h>
#include <t3d/t3d.h>
#include <t3d/t3ddebug.h>
#include "globals.h"
#include "game_time.h"
#include "joypad_utility.h"
#include "camera_controller.h"
#include "audio_controller.h"
#include "display_utility.h"
#include "menu_controller.h"
#include "save_contr... | #include <libdragon.h>
#include <rspq_profile.h>
#include <t3d/t3d.h>
#include <t3d/t3ddebug.h>
#include "globals.h"
#include "game_time.h"
#include "joypad_utility.h"
#include "camera_controller.h"
#include "audio_controller.h"
#include "display_utility.h"
#include "menu_controller.h"
#include "save_control... | github_ast_structnorm | n | {"language": "cpp", "total_nodes": 1089, "tree_depth": 16, "variables_renamed": 5, "functions_renamed": 60, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <libdragon.h> ) system_lib_string ) preproc_include ( prep... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [{"from": "DFS_DEFAULT_LOCATION", "to": "dfs_init", "type": "call_arg"}, {"from": "RESOLUTION_320x240", "to": "display_init", "type": "call_arg"}, {"from": "DEPTH_16_BPP", "to": "display_init", "type": "call_arg"}, {"from": "FRAME_BUFFER_COUNT", "to": "display_init", "type": "call_arg"}, {"from": "GAMMA_NONE", "to": "d... | 6f7d896d79dc59f338acec78babc85340c9c354c0b87104bc90a01a8e1bcf59a | 2026-06-03T02:37:29.976759+00:00 |
b915aada-174c-4d43-a72e-19d1003d5293 | GITHUB | #include "cutscene_manager.h"
#include "cutscene_manager_internal.h"
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3danim.h>
#include "globals.h"
#include "joypad_utility.h"
#include "../controllers/camera_controller.h"
#include "../controllers/dialog_controller.h"
#include "cutscene_guardian_phase1.h... | #include "cutscene_manager.h"
#include "cutscene_manager_internal.h"
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3danim.h>
#include "globals.h"
#include "joypad_utility.h"
#include "../controllers/camera_controller.h"
#include "../controllers/dialog_controller.h"
#include "cutscene_guardian_phase1.h"
#in... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 2014, "tree_depth": 14, "variables_renamed": 37, "functions_renamed": 50, "types_renamed": 7, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content cutscene_manager.h ) string_co... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"cstyleCast\" severity=\"style\" msg=\"C-style pointer casting\" verbose=\"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_cast and re... | [{"from": "CUTSCENE_NONE", "to": "cutsceneState", "type": "assignment"}, {"from": "cutscene_manager_post_boss_chat_count", "to": "count", "type": "assignment"}, {"from": "CUTSCENE_NONE", "to": "cutsceneState", "type": "propagation"}, {"from": "start", "to": "cutsceneCamPosStart", "type": "propagation"}, {"from": "end",... | 541d255d993f75fde9ade93ed69ded1a6e550bbe5ca14e49c208ea00c0e5c8c8 | 2026-06-03T02:37:35.483842+00:00 |
59746733-ade4-4ce3-bc41-5dce65d19e26 | GITHUB | #ifndef CUTSCENE_MANAGER_H
#define CUTSCENE_MANAGER_H
#include <stdbool.h>
#include <t3d/t3d.h>
// Forward declaration.
// The full SceneContext definition lives in scene_context.h.
// We only need a pointer type here so scene.c can call the manager API
// without the manager public header needing to pull in the whol... | #ifndef VAR_1
#define VAR_1
#include <stdbool.h>
#include <t3d/t3d.h>
typedef struct TYPE_1 TYPE_1;
typedef enum {
VAR_39,
VAR_40,
VAR_41,
VAR_42,
VAR_43,
VAR_44,
VAR_45,
VAR_46,
VAR_47,
VAR_48,
VAR_49,
VAR_50,
VAR_51,
VAR_52,
VAR_53,
VAR_54,
VAR_55,
... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 434, "tree_depth": 8, "variables_renamed": 38, "functions_renamed": 25, "types_renamed": 5, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member 'PostBossChat::line1' is never used.\" verbose=\"struct member 'PostBossChat::line1' is never used.\" cwe=\"563\" file0=\"C:/Users... | [] | adcaf94b15461e8ffad002d8b313c3ed254c87a7447270c53b2009011fdb93ec | 2026-06-03T02:37:40.872663+00:00 |
9b3d9e3f-8c8c-4a8a-9f8a-d1e030b3f821 | GITHUB | // Internal access to cutscene state for the heavy state-machine functions that
// still live in scene.c (scene_init_cutscene, scene_cutscene_update,
// scene_draw_cutscene). These routines mutate cutscene state while continuing
// to drive scene-owned geometry, camera, audio, etc. — moving them fully would
// require ... | #ifndef VAR_1
#define VAR_1
#include "cutscene_manager.h"
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dskeleton.h>
#include <t3d/t3danim.h>
extern TYPE_1 VAR_2;
extern float VAR_3;
extern float VAR_4;
extern TYPE_2 VAR_5;
extern TYPE_2 VAR_6;
extern bool VAR_7;
extern bool VAR_8;
extern ... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 92, "tree_depth": 5, "variables_renamed": 12, "functions_renamed": 0, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 1.0, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 0e8a66ccfef868be83972a11b134a29120d0d623853b41fbf989712bb61f5d2b | 2026-06-03T02:37:46.958484+00:00 |
f3ae9aab-bce1-490a-8592-e57d4f7f37e3 | GITHUB | #include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dskeleton.h>
#include <t3d/t3danim.h>
#include <t3d/t3dmath.h>
#include <math.h>
#include "character.h"
#include "camera_controller.h"
#include "joypad_utility.h"
#include "game_time.h"
#include "game_math.h"
#include "globals.h"
#include "game/bosses/boss.... | #include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dskeleton.h>
#include <t3d/t3danim.h>
#include <t3d/t3dmath.h>
#include <math.h>
#include "character.h"
#include "camera_controller.h"
#include "joypad_utility.h"
#include "game_time.h"
#include "game_math.h"
#include "globals.h"
#include "game/bosses/boss.h"
... | github_ast_structnorm | log n | {"language": "cpp", "total_nodes": 22152, "tree_depth": 24, "variables_renamed": 421, "functions_renamed": 142, "types_renamed": 16, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <libdragon.h> ) system_lib_string ) preproc_include (... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-476", "CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"nullPointerOutOfMemory\" severity=\"warning\" msg=\"If memory allocation fails, then there is a possible null pointer dereference: skeleton\" verbose=\"If memory allocation fails, then there is a pos... | [{"from": "CHAR_STATE_NORMAL", "to": "characterState", "type": "assignment"}, {"from": "MAX_MOVEMENT_SPEED", "to": "ROLL_SPEED", "type": "assignment"}, {"from": "amount", "to": "character", "type": "propagation"}, {"from": "STAMINA_EXHAUSTED_DELAY", "to": "character", "type": "propagation"}, {"from": "STAMINA_REGEN_DEL... | eabc43a3b335e06a58c8044e260eb4f69ea4060d46785099192b3393d9065721 | 2026-06-03T02:37:53.057101+00:00 |
a1119502-060f-48ee-9240-c9933f38eb49 | GITHUB | #ifndef CHARACTER_H
#define CHARACTER_H
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dskeleton.h>
#include <t3d/t3danim.h>
#include "general_utility.h"
// Animation states - these correspond to the animation indices
typedef enum {
ANIM_IDLE,
ANIM_IDLE_TITLE,
ANIM_WALK,
ANIM_RUN,
AN... | #ifndef VAR_1
#define VAR_1
#include <libdragon.h>
#include <t3d/t3d.h>
#include <t3d/t3dskeleton.h>
#include <t3d/t3danim.h>
#include "general_utility.h"
typedef enum {
VAR_32,
VAR_33,
VAR_34,
VAR_35,
VAR_36,
VAR_37,
VAR_38,
VAR_39,
VAR_40,
VAR_41,
VAR_42,
VAR_43,
VA... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 577, "tree_depth": 9, "variables_renamed": 31, "functions_renamed": 23, "types_renamed": 10, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"struct member 'CapsuleCollider::radius' is never used.\" verbose=\"struct member 'CapsuleCollider::radius' is never used.\" cwe=\"563\" file0=\"... | [] | 9213992190d63de84298ec58298aa593fb6a3926744da774d4ed3e639f5bfec1 | 2026-06-03T02:37:58.980002+00:00 |
f3c538dd-a4dc-4236-b3ff-bb988433157e | GITHUB | #include "character_ui.h"
#include <libdragon.h>
#include "character.h"
#include "../utilities/game_time.h"
#include "../utilities/globals.h"
#include "../utilities/video_layout.h"
#define CHARACTER_UI_TRAIL_HOLD_TIME 0.35f
#define CHARACTER_UI_TRAIL_DECAY_RATE 0.6f
typedef struct {
float lossTrail;
float ... | #include "character_ui.h"
#include <libdragon.h>
#include "character.h"
#include "../utilities/game_time.h"
#include "../utilities/globals.h"
#include "../utilities/video_layout.h"
#define VAR_1 0.35f
#define VAR_2 0.6f
typedef struct {
float VAR_98;
float VAR_99;
float VAR_100;
float VAR_101;
float... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 4048, "tree_depth": 15, "variables_renamed": 83, "functions_renamed": 34, "types_renamed": 4, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content character_ui.h ) string_conten... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"duplicateAssignExpression\" severity=\"style\" msg=\"Same expression used in consecutive assignments of 'green' and 'blue'.\" verbose=\"Finding variables 'green' and 'blue&apo... | [{"from": "character_ui_clampf", "to": "ratio", "type": "assignment"}, {"from": "ratio", "to": "character_ui_clampf", "type": "call_arg"}, {"from": "ratio", "to": "s", "type": "propagation"}, {"from": "ratio", "to": "s", "type": "propagation"}, {"from": "ratio", "to": "s", "type": "propagation"}, {"from": "character_ui... | fdb525e618c976da0582c77299e43f2de1539da9e685242d7b619f87f218f889 | 2026-06-03T02:38:05.126920+00:00 |
f77edd4f-03a7-4137-99f4-aef770e92f6c | GITHUB | #ifndef CHARACTER_UI_H
#define CHARACTER_UI_H
void character_ui_init(void);
void character_ui_cleanup(void);
void character_ui_reset(void);
void character_ui_set_intro(float progress);
void character_ui_draw_health_bar(const char *name, float ratio, float flash);
void character_ui_draw_stamina_bar(float ratio);
void... | #ifndef VAR_1
#define VAR_1
void FUNC_1(void);
void FUNC_2(void);
void FUNC_3(void);
void FUNC_4(float VAR_6);
void FUNC_5(const char *VAR_8, float VAR_9, float VAR_10);
void FUNC_6(float VAR_9);
void FUNC_7(void);
void FUNC_8(void);
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 103, "tree_depth": 8, "variables_renamed": 13, "functions_renamed": 8, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1069, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 15da6046099ec169092c80a7221213b74e518a65fc96fbd42d1bb37f5f90dd78 | 2026-06-03T02:38:11.354533+00:00 |
8138a3bd-703d-4a41-84a5-e085c0c26ac2 | GITHUB | #include "cutscene_guardian_phase1.h"
#include <stdbool.h>
#include <math.h>
#include <string.h>
#include <libdragon.h>
#include <rdpq.h>
#include <rdpq_mode.h>
#include <rdpq_text.h>
#include <t3d/t3d.h>
#include <t3d/t3dskeleton.h>
#include <t3d/t3danim.h>
#include <t3d/t3dmodel.h>
#include "scene_context.h"
#inc... | #include "cutscene_guardian_phase1.h"
#include <stdbool.h>
#include <math.h>
#include <string.h>
#include <libdragon.h>
#include <rdpq.h>
#include <rdpq_mode.h>
#include <rdpq_text.h>
#include <t3d/t3d.h>
#include <t3d/t3dskeleton.h>
#include <t3d/t3danim.h>
#include <t3d/t3dmodel.h>
#include "scene_context.h"
#include... | github_ast_structnorm | n | {"language": "cpp", "total_nodes": 5968, "tree_depth": 20, "variables_renamed": 32, "functions_renamed": 70, "types_renamed": 10, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content cutscene_guardian_phase1.h ) ... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-119"], "tool_findings": [{"tool": "flawfinder", "detail": "C:\\Users\\SMAILB~1\\AppData\\Local\\Temp\\tmpof4cfa4q.cpp:228:15: [2] (buffer) char:"}, {"tool": "flawfinder", "detail": "Statically-sized arrays can be improperly restricted, leading to potential"}, {"tool": "flawfind... | [{"from": "matrix", "to": "free_uncached", "type": "call_arg"}, {"from": "dpl", "to": "rspq_block_free", "type": "call_arg"}, {"from": "model", "to": "t3d_model_free", "type": "call_arg"}, {"from": "matrix", "to": "t3d_mat4fp_from_srt_euler", "type": "call_arg"}, {"from": "s_cinematicChainsAnimations", "to": "t3d_anim_... | b1f135d0676b1c28179bce7181909412227fb5c10ced7edb75acf5e5444bbb39 | 2026-06-03T02:38:17.252346+00:00 |
1704eb33-9363-4ebd-acc2-bdeb704d5c6f | GITHUB | #ifndef CHARACTER_EVENT_OBSERVER_H_
#define CHARACTER_EVENT_OBSERVER_H_
#include "Koga/Observer.hpp"
#include "dolphin/types.h"
namespace Koga {
class CharacterEvent {
public:
enum Message {
MESSAGE_TRUE,
MESSAGE_ENTERED_FLASHLIGHT_BEAM = 2,
MESSAGE_CAPTURE_BEGIN,
... | #ifndef VAR_1
#define VAR_1
#include "Koga/Observer.hpp"
#include "dolphin/types.h"
namespace Koga {
class TYPE_1 {
public:
enum TYPE_2 {
VAR_5,
VAR_6 = 2,
VAR_7,
VAR_8,
VAR_9 = 8,
VAR_10,
VAR_11,
VAR_12,
... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 410, "tree_depth": 12, "variables_renamed": 4, "functions_renamed": 1, "types_renamed": 5, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'CharacterEvent' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'CharacterEvent' has a constructo... | [] | c34ca46f875a4bf13cb0d178f7c92278ac213aeacfb6c3ade76212340709e8f5 | 2026-06-03T02:38:24.666895+00:00 |
f120092d-ded2-4c17-865f-e0e799305098 | GITHUB | #ifndef MESSAGE_H_
#define MESSAGE_H_
#include "dolphin/types.h"
class MessageSender {
public:
virtual ~MessageSender();
virtual void vt_0C() = 0;
virtual void vt_10() = 0;
virtual void vt_14();
virtual void vt_18();
};
#endif
| #ifndef VAR_1
#define VAR_1
#include "dolphin/types.h"
class TYPE_1 {
public:
virtual ~VAR_2();
virtual void VAR_3() = 0;
virtual void VAR_4() = 0;
virtual void VAR_5();
virtual void VAR_6();
};
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 74, "tree_depth": 8, "variables_renamed": 2, "functions_renamed": 0, "types_renamed": 1, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier ... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1012, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | f6385ada05514d3d54e012eb82b0887f9c712db9ad687c07ce7dbcf7fb7894b4 | 2026-06-03T02:38:30.559068+00:00 |
f7c64803-a51c-4706-8f24-add6f9a73c38 | GITHUB | #ifndef OBSERVER_H_
#define OBSERVER_H_
namespace Koga
{
template<typename Msg, typename Ret>
class Observer
{
public:
virtual Ret receiveMessage(Msg* msg) = 0;
};
}
#endif
| #ifndef VAR_1
#define VAR_1
namespace Koga
{
template<typename TYPE_1, typename TYPE_2>
class TYPE_3
{
public:
virtual TYPE_2 VAR_3(TYPE_1* VAR_2) = 0;
};
}
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 52, "tree_depth": 13, "variables_renamed": 2, "functions_renamed": 0, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1012, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | d2268da94499ade05cbc57e911812bc9a9ce8de9c869163befe2ae30e80ec8cd | 2026-06-03T02:38:36.489999+00:00 |
138592b4-2ac4-43c6-aec7-bb70fdbd0342 | GITHUB | #ifndef STATIC_DATA_H
#define STATIC_DATA_H
#include <version.h>
#if VERSION == VERSION_USA
extern u8 staticdata_usa_arc[];
#else
extern u8 staticdata_arc[];
#endif
#endif
| #ifndef VAR_1
#define VAR_1
#include <version.h>
#if VAR_4 == VAR_5
extern TYPE_1 VAR_2[];
#else
extern TYPE_1 VAR_3[];
#endif
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 39, "tree_depth": 7, "variables_renamed": 3, "functions_renamed": 0, "types_renamed": 1, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier ... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1012, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | f16728c5967534a0f868f7fff71ab02c871b856783234113ca2b3413d63ab453 | 2026-06-03T02:38:42.313754+00:00 |
9bca6a4a-eb83-4aa8-917d-44bdae182c47 | GITHUB | #ifndef LM_MACROS_H
#define LM_MACROS_H
#include <dolphin/macros.h>
#define dummy_float_data() \
static f32 dummy_float_data[6] = {1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f};
#define ARRAY_COUNT(arr) (int)(sizeof(arr) / sizeof(arr[0]))
#define READU32_BE(ptr, offset) \
... | #ifndef VAR_1
#define VAR_1
#include <dolphin/macros.h>
#define VAR_2() \
static f32 dummy_float_data[6] = {1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f};
#define VAR_3(VAR_11) (int)(sizeof(arr) / sizeof(arr[0]))
#define VAR_4(VAR_12, VAR_13) \
(((u32)ptr[offset] << 24) | ((u32... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 96, "tree_depth": 5, "variables_renamed": 10, "functions_renamed": 0, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1012, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 16b5c41d3e19c0d41b8a69f35e8d7855c593bf6bc64e59f0ce31a58ab6b85f05 | 2026-06-03T02:38:49.934106+00:00 |
f5261734-56da-4662-a402-721268cdbf6e | GITHUB | #ifndef LM_TYPES_H
#define LM_TYPES_H
#include <dolphin/types.h>
#ifndef nullptr
#define nullptr 0
#endif
#endif
| #ifndef VAR_1
#define VAR_1
#include <dolphin/types.h>
#ifndef nullptr
#define nullptr 0
#endif
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 19, "tree_depth": 5, "variables_renamed": 1, "functions_renamed": 0, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier ... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1012, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 3263abed55d7a6f15a822a8a88971d1c4edef55860476697286b42ec7d7a8ee8 | 2026-06-03T02:38:55.786973+00:00 |
6f6d336e-1f09-4a4e-8f4b-911172d31e8e | GITHUB | #ifndef VERSION_H
#define VERSION_H
#include <dolphin/types.h>
#define VERSION_USA 0
#define VERSION_JPN 1
#define VERSION_PAL_0 2
#define VERSION_PAL_1 3
#define VERSION_PAL (VERSION == VERSION_PAL_0 || VERSION == VERSION_PAL_1)
#endif
| #ifndef VAR_1
#define VAR_1
#include <dolphin/types.h>
#define VAR_2 0
#define VAR_3 1
#define VAR_4 2
#define VAR_5 3
#define VAR_6 (VERSION == VERSION_PAL_0 || VERSION == VERSION_PAL_1)
#endif | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 31, "tree_depth": 4, "variables_renamed": 6, "functions_renamed": 0, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifier ... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1012, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 6f86dc57b1962a28a0828c00dc7609b13111b739b564c73d23c899faa0e5859d | 2026-06-03T02:39:01.588489+00:00 |
4f787571-f87c-464e-9ba6-423dbb419a4e | GITHUB | #ifndef J2D_GRAFCONTEXT_HPP
#define J2D_GRAFCONTEXT_HPP
#include <JSystem/JUtility/JUTColor.hpp>
#include <JSystem/JUtility/JUTRect.hpp>
#include <JSystem/JUtility/JUTPoint.hpp>
#include <dolphin/mtx.h>
#include <dolphin/types.h>
class J2DGrafContext {
public:
struct Blend {
GXBlendMode mType;
GXBlendFactor mSrc... | #ifndef VAR_1
#define VAR_1
#include <JSystem/JUtility/JUTColor.hpp>
#include <JSystem/JUtility/JUTRect.hpp>
#include <JSystem/JUtility/JUTPoint.hpp>
#include <dolphin/mtx.h>
#include <dolphin/types.h>
class TYPE_1 {
public:
struct TYPE_2 {
TYPE_3 VAR_17;
TYPE_4 VAR_18;
TYPE_4 VAR_19;
};
FUNC_1(const TYPE_5& V... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 482, "tree_depth": 13, "variables_renamed": 16, "functions_renamed": 4, "types_renamed": 11, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J2DGrafContext' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J2DGrafContext' has a constructor with 1 ar... | [{"from": "c", "to": "setColor", "type": "call_arg"}, {"from": "c", "to": "setColor", "type": "call_arg"}, {"from": "c", "to": "setColor", "type": "call_arg"}, {"from": "c", "to": "setColor", "type": "call_arg"}, {"from": "JUTRect", "to": "place", "type": "call_arg"}, {"from": "x", "to": "JUTRect", "type": "call_arg"},... | da4ee40b73eb72ba7f1cd1f696b6edc54b4577b823161630034fdd25b7618fc0 | 2026-06-03T02:39:08.389097+00:00 |
61eee5db-24fd-48e3-9fcd-653bedc6cb85 | GITHUB | #ifndef J2D_ORTHOGRAPH_HPP
#define J2D_ORTHOGRAPH_HPP
#include <JSystem/J2D/J2DGrafContext.hpp>
class J2DOrthoGraph : public J2DGrafContext {
public:
J2DOrthoGraph();
J2DOrthoGraph(const JUTRect&);
J2DOrthoGraph(int x, int y, int width, int height);
void setOrtho(const JUTRect&, float, float);
void setOrigin(int... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J2D/J2DGrafContext.hpp>
class TYPE_1 : public TYPE_2 {
public:
FUNC_1();
FUNC_1(const TYPE_3&);
FUNC_1(int VAR_3, int VAR_4, int VAR_5, int VAR_6);
void VAR_19(const TYPE_3&, float, float);
void VAR_20(int, int);
void VAR_21(TYPE_3*, TYPE_3*);
virtual ~FUNC_1() { }
... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 449, "tree_depth": 13, "variables_renamed": 18, "functions_renamed": 6, "types_renamed": 6, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J2DOrthoGraph' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J2DOrthoGraph' has a constructor with 1 argu... | [{"from": "JUTRect", "to": "setOrtho", "type": "call_arg"}, {"from": "far", "to": "setOrtho", "type": "call_arg"}, {"from": "near", "to": "setOrtho", "type": "call_arg"}, {"from": "x", "to": "JUTRect", "type": "call_arg"}, {"from": "y", "to": "JUTRect", "type": "call_arg"}, {"from": "x", "to": "JUTRect", "type": "call_... | 0762d9a40aaacc0ff5ada7cf251f4da190ea698706116260499510528c7a584a | 2026-06-03T02:39:13.764209+00:00 |
af5de5eb-4347-46cb-8aeb-1ee941687c52 | GITHUB | #ifndef J2D_PANE_HPP
#define J2D_PANE_HPP
#include <JSystem/JSupport/JSUList.hpp>
#include <JSystem/JUtility/JUTRect.hpp>
#include <dolphin/gx/GXEnum.h>
#include <dolphin/mtx.h>
class J2DAnmBase;
class J2DAnmColor;
class J2DAnmTransform;
class J2DAnmTevRegKey;
class J2DAnmTextureSRTKey;
class J2DAnmVisibilityFull;
cl... | #ifndef VAR_1
#define VAR_1
#include <JSystem/JSupport/JSUList.hpp>
#include <JSystem/JUtility/JUTRect.hpp>
#include <dolphin/gx/GXEnum.h>
#include <dolphin/mtx.h>
class TYPE_1;
class TYPE_2;
class TYPE_3;
class TYPE_4;
class TYPE_5;
class TYPE_6;
class TYPE_7;
class TYPE_8;
class TYPE_9;
class TYPE_10;
class TYPE_11;
... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 1087, "tree_depth": 11, "variables_renamed": 14, "functions_renamed": 2, "types_renamed": 27, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"class member 'J2DPane::mRotAxis' is never used.\" verbose=\"class member 'J2DPane::mRotAxis' is never used.\" cwe=\"563\" file0=\"C:/Users/SMAIL... | [{"from": "x", "to": "mBounds.move", "type": "call_arg"}, {"from": "y", "to": "mBounds.move", "type": "call_arg"}, {"from": "x", "to": "mBounds.add", "type": "call_arg"}, {"from": "y", "to": "mBounds.add", "type": "call_arg"}, {"from": "w", "to": "mBounds.resize", "type": "call_arg"}, {"from": "h", "to": "mBounds.resiz... | f078b27aeefbcd034fed754eb009b8b75c71b602c34bd7fed1f54c6ac5eb1c19 | 2026-06-03T02:39:19.243723+00:00 |
cbd773e8-6438-460e-892e-f5d45966af53 | GITHUB | #ifndef J2D_PICTURE_HPP
#define J2D_PICTURE_HPP
#include <JSystem/J2D/J2DPane.hpp>
#include <JSystem/JUtility/JUTColor.hpp>
class J2DMaterial;
class JUTPalette;
class JUTTexture;
struct ResTIMG;
struct ResTLUT;
enum J2DMirror {
/* 0 */ MIRROR0, // temp, figure out later
/* 1 */ J2DMirror_Y = (1 << 0),
/* 2 */ J2D... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J2D/J2DPane.hpp>
#include <JSystem/JUtility/JUTColor.hpp>
class TYPE_1;
class TYPE_2;
class TYPE_3;
struct TYPE_4;
struct TYPE_5;
enum TYPE_6 {
VAR_12,
VAR_13 = (1 << 0),
VAR_14 = (1 << 1),
};
enum TYPE_7 {
VAR_15 = (1 << 0),
VAR_16 = (1 << 1),
VAR_17 = (1 ... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 1065, "tree_depth": 11, "variables_renamed": 11, "functions_renamed": 4, "types_renamed": 17, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J2DPicture' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J2DPicture' has a constructor with 1... | [{"from": "c0", "to": "mCornerColor", "type": "propagation"}, {"from": "c1", "to": "mCornerColor", "type": "propagation"}, {"from": "c2", "to": "mCornerColor", "type": "propagation"}, {"from": "c3", "to": "mCornerColor", "type": "propagation"}, {"from": "c0", "to": "setCornerColor", "type": "call_arg"}, {"from": "c0", ... | 911c9b3aac05389542072aa616e2b01c8aa123bda9c0466c0bdbe0e3ede9a1a2 | 2026-06-03T02:39:24.721007+00:00 |
f5b36ab7-2735-4d0b-a3b3-1ad2bfedaeb8 | GITHUB | #ifndef J2D_PRINT_HPP
#define J2D_PRINT_HPP
#include <JSystem/JUtility/JUTFont.hpp>
#include <JSystem/J2D/J2DTextBox.hpp>
#include <dolphin/os/OSMutex.h>
class J2DPrint {
public:
struct TSize {
float unk0;
float unk4;
};
J2DPrint(JUTFont*, int);
J2DPrint(JUTFont*, int, int);
J2DPrint(JUTFont*, JUtility::TCo... | #ifndef VAR_1
#define VAR_1
#include <JSystem/JUtility/JUTFont.hpp>
#include <JSystem/J2D/J2DTextBox.hpp>
#include <dolphin/os/OSMutex.h>
class TYPE_1 {
public:
struct TYPE_2 {
float VAR_17;
float VAR_18;
};
FUNC_1(TYPE_3*, int);
FUNC_1(TYPE_3*, int, int);
FUNC_1(TYPE_3*, JUtility::TYPE_4, JUtility::TYPE_4);
... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 809, "tree_depth": 11, "variables_renamed": 16, "functions_renamed": 1, "types_renamed": 11, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-563", "CWE-119"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"class member 'J2DPrint::mStrBuff' is never used.\" verbose=\"class member 'J2DPrint::mStrBuff' is never used.\" cwe=\"563\" file0=\"C... | [{"from": "c1", "to": "unk3C", "type": "propagation"}, {"from": "c2", "to": "unk40", "type": "propagation"}, {"from": "a", "to": "unk50", "type": "propagation"}] | 2f4a869a33ceda759d6bf2443ed2202551bdc5962c4c5c54e4a0b6f41e321e19 | 2026-06-03T02:39:30.128010+00:00 |
85a1fd4f-ed3d-4da1-adff-faa8e3467407 | GITHUB | #ifndef J2D_SCREEN_HPP
#define J2D_SCREEN_HPP
#include <JSystem/J2D/J2DPane.hpp>
#include <JSystem/JUtility/JUTColor.hpp>
class JKRArchive;
class J2DScreen : public J2DPane {
public:
J2DScreen()
: J2DPane(nullptr, 8, true, 'root', JUTRect(0, 0, 640, 480))
, mColor()
{
mbClipToParent = false;
}
virtu... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J2D/J2DPane.hpp>
#include <JSystem/JUtility/JUTColor.hpp>
class TYPE_1;
class TYPE_2 : public TYPE_3 {
public:
FUNC_1()
: VAR_9(nullptr, 8, true, 'root', FUNC_2(0, 0, 640, 480))
, VAR_10()
{
VAR_11 = false;
}
virtual ~FUNC_1();
virtual void VAR_12(int VAR_3... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 365, "tree_depth": 11, "variables_renamed": 8, "functions_renamed": 3, "types_renamed": 11, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-119"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"uninitMemberVar\" severity=\"warning\" msg=\"Member variable 'J2DScreen::padding' is not initialized in the constructor.\" verbose=\"Member variable 'J2DScreen::padding' is not in... | [] | bff958dc4584d6f6548ebdc72f6f2748e8e1eef1d993977255b7b939c8093d1e | 2026-06-03T02:39:37.124195+00:00 |
85bf7e7e-cc1f-44a3-962b-d7a061dce598 | GITHUB | #ifndef J2D_TEXTBOX_HPP
#define J2D_TEXTBOX_HPP
#include <JSystem/J2D/J2DPane.hpp>
#include <JSystem/JUtility/JUTFont.hpp>
enum J2DTextBoxHBinding {
/* 0x0 */ HBIND_CENTER,
/* 0x1 */ HBIND_RIGHT,
/* 0x2 */ HBIND_LEFT
};
enum J2DTextBoxVBinding {
/* 0x0 */ VBIND_CENTER,
/* 0x1 */ VBIND_BOTTOM,
/* 0x2 */ VBIND_T... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J2D/J2DPane.hpp>
#include <JSystem/JUtility/JUTFont.hpp>
enum TYPE_1 {
VAR_11,
VAR_12,
VAR_13
};
enum TYPE_2 {
VAR_14,
VAR_15,
VAR_16
};
class TYPE_3 : public TYPE_4 {
public:
FUNC_1(const TYPE_5*, const char*);
FUNC_1(const char*, const char*);
FUNC_1(TYPE_4... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 533, "tree_depth": 10, "variables_renamed": 10, "functions_renamed": 1, "types_renamed": 11, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"class member 'J2DTextBox::mFont' is never used.\" verbose=\"class member 'J2DTextBox::mFont' is never used.\" cwe=\"563\" file0=\"C:/Users/SMAIL... | [{"from": "x", "to": "mFontSizeX", "type": "propagation"}, {"from": "y", "to": "mFontSizeY", "type": "propagation"}, {"from": "black", "to": "mBlack", "type": "propagation"}, {"from": "white", "to": "mWhite", "type": "propagation"}] | 16ac669637d474ed9be2a6a59d1a8da8f657b614cf094e8c927b755b9f0ea890 | 2026-06-03T02:39:42.511090+00:00 |
73ab0c79-f2c2-4c66-a375-bacbe2585a95 | GITHUB | #ifndef J2DWINDOW_H
#define J2DWINDOW_H
#include <JSystem/JUtility/JUTColor.hpp>
#include <JSystem/JUtility/JUTPalette.hpp>
#include <JSystem/JUtility/JUTTexture.hpp>
#include <JSystem/J2D/J2DPane.hpp>
class JSURandomInputStream;
class JUTTexture;
struct J2DTextureBase {
// ???
};
struct J2DWindowMirror { };
clas... | #ifndef VAR_1
#define VAR_1
#include <JSystem/JUtility/JUTColor.hpp>
#include <JSystem/JUtility/JUTPalette.hpp>
#include <JSystem/JUtility/JUTTexture.hpp>
#include <JSystem/J2D/J2DPane.hpp>
class TYPE_1;
class TYPE_2;
struct TYPE_3 {
};
struct TYPE_4 { };
class TYPE_5 : public TYPE_6 {
public:
struct TYPE_7 {
FUNC_1... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 882, "tree_depth": 13, "variables_renamed": 4, "functions_renamed": 3, "types_renamed": 16, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Struct 'Texture' has a constructor with 1 argument that is not explicit.\" verbose=\"Struct 'Texture' has a constructor with 1 arg... | [] | 4bfe59f5103e2eb2d7ffda1d2e8a71e0e52c30fecf38d0ce2918bc31ac7bfc7e | 2026-06-03T02:39:48.181822+00:00 |
f6493911-3950-419d-ba37-087882dab819 | GITHUB | #ifndef J3D_ANIMATION_HPP
#define J3D_ANIMATION_HPP
#include <types.h>
#include <JSystem/JUtility/JUTNameTab.hpp>
#include <dolphin/gx.h>
#include <dolphin/mtx.h>
class J3DTransformInfo;
class J3DTextureSRTInfo;
class J3DModelData;
/**
* @brief Animation frame controller with configurable playback modes.
* Support... | #ifndef VAR_1
#define VAR_1
#include <types.h>
#include <JSystem/JUtility/JUTNameTab.hpp>
#include <dolphin/gx.h>
#include <dolphin/mtx.h>
class TYPE_1;
class TYPE_2;
class TYPE_3;
class TYPE_4 {
public:
enum {
VAR_22,
VAR_23,
VAR_24,
VAR_25,
VAR_26,
};
enum {
VAR_27 = 0x1, ... | github_ast_structnorm | n | {"language": "cpp", "total_nodes": 3866, "tree_depth": 13, "variables_renamed": 19, "functions_renamed": 20, "types_renamed": 47, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( ident... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"uninitMemberVar\" severity=\"warning\" msg=\"Member variable 'J3DAnmTextureSRTKey::mUpdateTexMtxID' is not initialized in the constructor.\" verbose=\"Member variable 'J3DAnmTextureSRT... | [{"from": "end", "to": "init", "type": "call_arg"}, {"from": "start", "to": "mStart", "type": "propagation"}, {"from": "start", "to": "mFrame", "type": "propagation"}, {"from": "frame", "to": "mFrame", "type": "propagation"}, {"from": "end", "to": "mEnd", "type": "propagation"}, {"from": "rate", "to": "mRate", "type": ... | 4ca14378867b74618176417a51e0b3bee720999d28d76a356fdc607c33bc77f2 | 2026-06-03T02:39:55.238423+00:00 |
0f12cb66-52f6-458c-8350-213f033461f9 | GITHUB | #ifndef J3D_CLUSTER_HPP
#define J3D_CLUSTER_HPP
#include <JSystem/J3D/J3DGraphBase/J3DTransform.hpp>
#include <dolphin/types.h>
#include <dolphin/mtx.h>
class J3DModelData;
class J3DModel;
class J3DAnmCluster;
class JUTNameTab;
struct J3DClusterKey {
void operator=(const J3DClusterKey& other)
{
mPosNum = other.... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DTransform.hpp>
#include <dolphin/types.h>
#include <dolphin/mtx.h>
class TYPE_1;
class TYPE_2;
class TYPE_3;
class TYPE_4;
struct TYPE_5 {
void operator=(const TYPE_5& VAR_2)
{
VAR_7 = VAR_2.VAR_7;
VAR_8 = VAR_2.VAR_8;
VAR_9 = VAR_2.VAR_9;
VA... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 778, "tree_depth": 12, "variables_renamed": 6, "functions_renamed": 3, "types_renamed": 17, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"class member 'J3DDeformer::mDeformData' is never used.\" verbose=\"class member 'J3DDeformer::mDeformData' is never used.\" cwe=\"563\" file0=\"... | [{"from": "mtx", "to": "J3DPSMtx33CopyFrom34", "type": "call_arg"}, {"from": "mNrmMtx", "to": "J3DPSMtx33CopyFrom34", "type": "call_arg"}] | e18346de45e5b8e5a42bc9894aa2575044e04402f618dffab8395334b0aca036 | 2026-06-03T02:40:01.042443+00:00 |
a4882236-aae8-4955-8e3f-72f1e5e40e69 | GITHUB | #ifndef J3D_JOINT_HPP
#define J3D_JOINT_HPP
#include <types.h>
#include <JSystem/J3D/J3DGraphAnimator/J3DNode.hpp>
#include <JSystem/J3D/J3DGraphBase/J3DTransform.hpp>
#include <JSystem/J3D/J3DGraphBase/J3DSys.hpp>
#include <dolphin/mtx.h>
// TODO: this is hell on earth
class J3DAnmTransform;
class J3DTransformInfo;... | #ifndef VAR_1
#define VAR_1
#include <types.h>
#include <JSystem/J3D/J3DGraphAnimator/J3DNode.hpp>
#include <JSystem/J3D/J3DGraphBase/J3DTransform.hpp>
#include <JSystem/J3D/J3DGraphBase/J3DSys.hpp>
#include <dolphin/mtx.h>
class TYPE_1;
class TYPE_2;
class TYPE_3;
class TYPE_4 {
public:
virtual void VAR_13(const TYPE... | github_ast_structnorm | n | {"language": "cpp", "total_nodes": 2327, "tree_depth": 13, "variables_renamed": 11, "functions_renamed": 10, "types_renamed": 21, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( ident... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J3DMtxCalcAnm' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J3DMtxCalcAnm' has a constructor ... | [{"from": "transform", "to": "mOne", "type": "propagation"}, {"from": "vec", "to": "mCurrentS", "type": "propagation"}, {"from": "vec", "to": "mBackupS", "type": "propagation"}, {"from": "vec", "to": "mBackupParentS", "type": "propagation"}, {"from": "v", "to": "J3DMtxCalcAnm::calc", "type": "call_arg"}, {"from": "vec"... | 6836e4b7ed03df688426e825d7aeb30e2c391dc8ad71be0ccae907a4272f8ff3 | 2026-06-03T02:40:06.511894+00:00 |
98ead895-cc6f-417b-bc72-3225c50ea7b7 | GITHUB | #ifndef J3D_MATERIAL_ANM
#define J3D_MATERIAL_ANM
#include <dolphin/types.h>
#include <JSystem/J3D/J3DGraphAnimator/J3DAnimation.hpp>
struct J3DMaterial;
class J3DMatColorAnm {
public:
J3DMatColorAnm()
{
mAnmColor = nullptr;
mAnmIndex = 0;
}
~J3DMatColorAnm() { }
J3DMatColorAnm(J3DAnmColor* color, u16 idx)
... | #ifndef VAR_1
#define VAR_1
#include <dolphin/types.h>
#include <JSystem/J3D/J3DGraphAnimator/J3DAnimation.hpp>
struct TYPE_1;
class TYPE_2 {
public:
FUNC_1()
{
VAR_13 = nullptr;
VAR_14 = 0;
}
~FUNC_1() { }
FUNC_1(TYPE_3* VAR_2, TYPE_4 VAR_3)
{
VAR_13 = VAR_2;
VAR_14 = VAR_3;
}
void VAR_15(TYPE_4 VAR_4)... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 973, "tree_depth": 11, "variables_renamed": 12, "functions_renamed": 7, "types_renamed": 15, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"useInitializationList\" severity=\"performance\" msg=\"Variable 'mAnmIndex' is assigned in constructor body. Consider performing initialization in initialization list.\" verbose=\"When an object of a ... | [{"from": "color", "to": "mAnmColor", "type": "propagation"}, {"from": "idx", "to": "mAnmIndex", "type": "propagation"}, {"from": "index", "to": "mAnmIndex", "type": "propagation"}, {"from": "anmColor", "to": "mAnmColor", "type": "propagation"}, {"from": "anmIdx", "to": "mAnmIndex", "type": "propagation"}, {"from": "pA... | ef666157bbb5b831c136c35ce8022435af7b42250419a5b705690ff26177f0d2 | 2026-06-03T02:40:12.016106+00:00 |
be6e80e5-cf7d-4afe-8094-47ac11108528 | GITHUB | #ifndef J3D_MATERIAL_ATTACH_HPP
#define J3D_MATERIAL_ATTACH_HPP
#include <types.h>
class J3DMaterial;
class JUTNameTab;
class J3DTexture;
class J3DMaterialTable {
public:
J3DMaterialTable();
virtual ~J3DMaterialTable();
void clear();
J3DMaterial* getMaterialNodePointer(u16 idx) const
{
return mMaterials[idx... | #ifndef VAR_1
#define VAR_1
#include <types.h>
class TYPE_1;
class TYPE_2;
class TYPE_3;
class TYPE_4 {
public:
FUNC_1();
virtual ~FUNC_1();
void VAR_5();
TYPE_1* VAR_6(TYPE_5 VAR_3) const
{
return VAR_7[VAR_3];
}
TYPE_5 VAR_8() const { return VAR_9; }
TYPE_3* VAR_10() const { return VAR_11; }
void VAR_12(TY... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 212, "tree_depth": 10, "variables_renamed": 4, "functions_renamed": 1, "types_renamed": 5, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1012, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [{"from": "pTexture", "to": "mTexture", "type": "propagation"}] | 8b353b37313288a681f7d633b25ac3204acd29f3f9546d3ac2deec472af86cce | 2026-06-03T02:40:17.892516+00:00 |
b42d400c-1438-45a1-bf80-f9c20c5b2086 | GITHUB | #ifndef J3D_MODEL_HPP
#define J3D_MODEL_HPP
#include <types.h>
#include <JSystem/J3D/J3DGraphBase/J3DVertex.hpp>
#include <JSystem/J3D/J3DGraphBase/J3DPacket.hpp>
#include <JSystem/J3D/J3DGraphBase/J3DShape.hpp>
#include <JSystem/J3D/J3DGraphAnimator/J3DMaterialAttach.hpp>
#include <JSystem/ResTIMG.hpp>
#include <dolp... | #ifndef VAR_1
#define VAR_1
#include <types.h>
#include <JSystem/J3D/J3DGraphBase/J3DVertex.hpp>
#include <JSystem/J3D/J3DGraphBase/J3DPacket.hpp>
#include <JSystem/J3D/J3DGraphBase/J3DShape.hpp>
#include <JSystem/J3D/J3DGraphAnimator/J3DMaterialAttach.hpp>
#include <JSystem/ResTIMG.hpp>
#include <dolphin/mtx.h>
class ... | github_ast_structnorm | n | {"language": "cpp", "total_nodes": 2428, "tree_depth": 13, "variables_renamed": 17, "functions_renamed": 5, "types_renamed": 42, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-563", "CWE-119"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"class member 'J3DModelData::unk4' is never used.\" verbose=\"class member 'J3DModelData::unk4' is never used.\" cwe=\"563\" file0=\"C... | [{"from": "texture", "to": "unkAC", "type": "propagation"}, {"from": "texture_name", "to": "unkA8", "type": "propagation"}, {"from": "hierarchy", "to": "unk8", "type": "propagation"}, {"from": "mtx", "to": "MTXCopy", "type": "call_arg"}, {"from": "mNodeMatrices", "to": "MTXCopy", "type": "call_arg"}, {"from": "param_1"... | 1214b9cebf5f0ca3168ca2ca15e6f75fc3d8937a2b656449bd22e3b09f00f29f | 2026-06-03T02:40:24.734412+00:00 |
bd649024-6af3-4ac5-8621-42aabf71b665 | GITHUB | #ifndef J3D_NODE_HPP
#define J3D_NODE_HPP
#include <dolphin/types.h>
class J3DNode;
class J3DModelData;
typedef BOOL (*J3DNodeCallBack)(J3DNode*, BOOL);
class J3DNode {
public:
J3DNode();
virtual void init(J3DModelData*) { }
virtual void updateIn() { }
virtual void updateOut() { }
virtual void entryIn() { }
v... | #ifndef VAR_1
#define VAR_1
#include <dolphin/types.h>
class TYPE_1;
class TYPE_2;
typedef BOOL (*TYPE_3)(TYPE_1*, BOOL);
class TYPE_1 {
public:
FUNC_1();
virtual void VAR_6(TYPE_2*) { }
virtual void VAR_7() { }
virtual void VAR_8() { }
virtual void VAR_9() { }
virtual void VAR_10() { }
virtual void VAR_11() { }... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 310, "tree_depth": 10, "variables_renamed": 5, "functions_renamed": 1, "types_renamed": 4, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"class member 'J3DNode::field_0x8' is never used.\" verbose=\"class member 'J3DNode::field_0x8' is never used.\" cwe=\"563\" file0=\"C:/Users/SMA... | [{"from": "pYounger", "to": "mYounger", "type": "propagation"}, {"from": "callback", "to": "mCallBack", "type": "propagation"}, {"from": "data", "to": "mCallBackUserData", "type": "propagation"}] | 4eff800f453a920bf7c94cc76813cdfcb8aa2f8684f50338a45a4411f63e422d | 2026-06-03T02:40:30.329065+00:00 |
2ee890a2-89a7-4cd3-a27d-f79be92205f1 | GITHUB | #ifndef J3D_COLOR_BLOCKS_HPP
#define J3D_COLOR_BLOCKS_HPP
#include <types.h>
#include <JSystem/J3D/J3DGraphBase/Components/J3DGXColor.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DColorChan.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DLightObj.hpp>
class J3DColorBlock {
public:
virtual void reset(J3... | #ifndef VAR_1
#define VAR_1
#include <types.h>
#include <JSystem/J3D/J3DGraphBase/Components/J3DGXColor.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DColorChan.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DLightObj.hpp>
class TYPE_1 {
public:
virtual void VAR_9(TYPE_1*) { }
virtual TYPE_2 VAR_10() = 0... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 1605, "tree_depth": 11, "variables_renamed": 8, "functions_renamed": 3, "types_renamed": 9, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"missingOverride\" severity=\"style\" msg=\"The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier.\" verbose=\"The function 'reset' overrid... | [{"from": "color", "to": "mMatColor", "type": "propagation"}, {"from": "num", "to": "mColorChanNum", "type": "propagation"}, {"from": "chan", "to": "mColorChan", "type": "propagation"}, {"from": "mode", "to": "mCullMode", "type": "propagation"}, {"from": "color", "to": "mMatColor", "type": "propagation"}, {"from": "col... | aa18d05aaf0b8c3351cfa210f2a8f1d73a9a4b25273308a31595253467fb300a | 2026-06-03T02:40:35.941419+00:00 |
79028fe7-7f17-4ca8-91c7-94cddd73192d | GITHUB | #ifndef J3D_IND_BLOCKS_HPP
#define J3D_IND_BLOCKS_HPP
#include <types.h>
#include <JSystem/J3D/J3DGraphBase/Components/J3DIndTexOrder.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DIndTexMtx.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DIndTexCoordScale.hpp>
class J3DTevBlock;
class J3DIndBlock {
publ... | #ifndef VAR_1
#define VAR_1
#include <types.h>
#include <JSystem/J3D/J3DGraphBase/Components/J3DIndTexOrder.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DIndTexMtx.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DIndTexCoordScale.hpp>
class TYPE_1;
class TYPE_2 {
public:
virtual void VAR_7(TYPE_2*) { }
v... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 1007, "tree_depth": 11, "variables_renamed": 6, "functions_renamed": 1, "types_renamed": 10, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"useInitializationList\" severity=\"performance\" msg=\"Variable 'mIndTexStageNum' is assigned in constructor body. Consider performing initialization in initialization list.\" verbose=\"When an object... | [{"from": "num", "to": "mIndTexStageNum", "type": "propagation"}, {"from": "order", "to": "mIndTexOrder", "type": "propagation"}, {"from": "mtx", "to": "mIndTexMtx", "type": "propagation"}, {"from": "scale", "to": "mIndTexCoordScale", "type": "propagation"}] | 011536d86fce10fcbf7b4e63fc689cfd2074c30f5c81dd60057fc61a35642f26 | 2026-06-03T02:40:41.539570+00:00 |
ec170ba5-1773-46b7-ba96-ca17fd12dc26 | GITHUB | #ifndef J3D_PE_BLOCKS_HPP
#define J3D_PE_BLOCKS_HPP
#include <types.h>
#include <JSystem/J3D/J3DGraphBase/Components/J3DFog.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DAlphaComp.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DBlend.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DZMode.hpp>
class... | #ifndef VAR_1
#define VAR_1
#include <types.h>
#include <JSystem/J3D/J3DGraphBase/Components/J3DFog.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DAlphaComp.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DBlend.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DZMode.hpp>
class TYPE_1 {
public:
virtual... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 1104, "tree_depth": 11, "variables_renamed": 8, "functions_renamed": 2, "types_renamed": 12, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"missingOverride\" severity=\"style\" msg=\"The function 'countDLSize' overrides a function in a base class but is not marked with a 'override' specifier.\" verbose=\"The function 'countDLSize&a... | [{"from": "fog", "to": "mFog", "type": "propagation"}, {"from": "mFog", "to": "res", "type": "assignment"}, {"from": "fog", "to": "mFog", "type": "propagation"}, {"from": "alpha_comp", "to": "mAlphaComp", "type": "propagation"}, {"from": "blend", "to": "mBlend", "type": "propagation"}, {"from": "zmode", "to": "mZMode",... | 9353b7d8b4b85dff5f36587c0337f77e777a09578b670109f5eb52fa92e851e4 | 2026-06-03T02:40:46.927400+00:00 |
cd65d181-1008-4894-b770-d76b4e48343b | GITHUB | #ifndef J3D_TEV_BLOCKS_HPP
#define J3D_TEV_BLOCKS_HPP
#include <types.h>
#include <JSystem/J3D/J3DGraphBase/Components/J3DTevOrder.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DGXColorS10.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DGXColor.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DTevStag... | #ifndef VAR_1
#define VAR_1
#include <types.h>
#include <JSystem/J3D/J3DGraphBase/Components/J3DTevOrder.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DGXColorS10.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DGXColor.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DTevStage.hpp>
#include <JSystem/J3... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 4874, "tree_depth": 12, "variables_renamed": 10, "functions_renamed": 5, "types_renamed": 16, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identi... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"missingOverride\" severity=\"style\" msg=\"The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier.\" verbose=\"The function 'reset' overrid... | [{"from": "no", "to": "mTexNo", "type": "propagation"}, {"from": "order", "to": "mTevOrder", "type": "propagation"}, {"from": "stage", "to": "mTevStage", "type": "propagation"}, {"from": "stage", "to": "mIndTevStage", "type": "propagation"}, {"from": "no", "to": "mTexNo", "type": "propagation"}, {"from": "order", "to":... | 9edf33dbb9d302ac21941f5686597711a4c93140be160a8d51033d73c983e3e7 | 2026-06-03T02:40:53.585391+00:00 |
b61e73fc-2058-425d-afdd-31d352aacbcc | GITHUB | #ifndef J3D_TEX_GEN_BLOCKS_HPP
#define J3D_TEX_GEN_BLOCKS_HPP
#include <JSystem/J3D/J3DGraphBase/Components/J3DTexCoord.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DTexMtx.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DNBTScale.hpp>
class J3DTexGenBlock {
public:
virtual void reset(J3DTexGenBlock*) {... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/Components/J3DTexCoord.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DTexMtx.hpp>
#include <JSystem/J3D/J3DGraphBase/Components/J3DNBTScale.hpp>
class TYPE_1 {
public:
virtual void VAR_8(TYPE_1*) { }
virtual void VAR_9(TYPE_2) = 0;
virtual TYPE_3 ... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 746, "tree_depth": 11, "variables_renamed": 7, "functions_renamed": 2, "types_renamed": 8, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"missingOverride\" severity=\"style\" msg=\"The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier.\" verbose=\"The function 'reset' overrid... | [{"from": "num", "to": "mTexGenNum", "type": "propagation"}, {"from": "mtx", "to": "mTexMtx", "type": "propagation"}, {"from": "mtx", "to": "mTexMtx", "type": "propagation"}, {"from": "scale", "to": "mNBTScale", "type": "propagation"}] | 3f34228db9c748fd004053b1e0dc3fcf446537239be1499ffc3cb67af4bd659a | 2026-06-03T02:40:59.028625+00:00 |
2dc8f25c-cb2d-43fc-8738-73eb3ee202f9 | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_ALPHACOMP
#define J3D_GRAPH_BASE_COMPONENTS_ALPHACOMP
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
#include <dolphin/gd.h>
extern const u16 j3dDefaultAlphaCmpID;
extern u8 j3dAlphaCmpTable[768];
inline u16 calcAlphaCmpID(u8 comp0, u8 op, u8 comp1)
{
return (comp0 << 5) + (op <... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
#include <dolphin/gd.h>
extern const TYPE_1 VAR_2;
extern TYPE_2 VAR_3[768];
inline TYPE_1 FUNC_1(TYPE_2 VAR_4, TYPE_2 VAR_5, TYPE_2 VAR_6)
{
return (VAR_4 << 5) + (VAR_5 << 3) + VAR_6;
}
class TYPE_3 {
public:
FUNC_2()
{
VAR_10 = VAR_2;... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 514, "tree_depth": 14, "variables_renamed": 9, "functions_renamed": 10, "types_renamed": 6, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"useInitializationList\" severity=\"performance\" msg=\"Variable 'mAlphaCmpID' is assigned in constructor body. Consider performing initialization in initialization list.\" verbose=\"When an object of ... | [{"from": "j3dDefaultAlphaCmpID", "to": "mAlphaCmpID", "type": "propagation"}, {"from": "calcAlphaCmpID", "to": "mAlphaCmpID", "type": "assignment"}, {"from": "info", "to": "calcAlphaCmpID", "type": "call_arg"}, {"from": "info", "to": "calcAlphaCmpID", "type": "call_arg"}, {"from": "info", "to": "calcAlphaCmpID", "type... | 11725fd63c4edad52316382186bb0786806c564715842a3ddf34501fbbad2bab | 2026-06-03T02:41:04.464580+00:00 |
7727d03e-86c1-4803-af1a-595908290f71 | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_BLEND
#define J3D_GRAPH_BASE_COMPONENTS_BLEND
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
#include <dolphin/gd.h>
extern const J3DBlendInfo j3dDefaultBlendInfo;
class J3DBlend : public J3DBlendInfo {
public:
J3DBlend() { *(J3DBlendInfo*)this = j3dDefaultBlendInfo; }
J3DBlend... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
#include <dolphin/gd.h>
extern const TYPE_1 VAR_2;
class TYPE_2 : public TYPE_1 {
public:
FUNC_1() { *(TYPE_1*)this = VAR_2; }
FUNC_1(const TYPE_1& VAR_3) { *(TYPE_1*)this = VAR_3; }
void VAR_5(const TYPE_1& VAR_3)
{
J3DBlendInfo::opera... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 229, "tree_depth": 13, "variables_renamed": 4, "functions_renamed": 2, "types_renamed": 5, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"functionStatic\" severity=\"style\" msg=\"Either there is a missing 'override', or the member function 'J3DBlend::setBlendInfo' can be static.\" verbose=\"Either there is a missing 'ove... | [{"from": "info", "to": "J3DBlendInfo::operator=", "type": "call_arg"}, {"from": "mBlendMode", "to": "GDSetBlendMode", "type": "call_arg"}, {"from": "mSrcFactor", "to": "GDSetBlendMode", "type": "call_arg"}, {"from": "mDstFactor", "to": "GDSetBlendMode", "type": "call_arg"}, {"from": "mLogicOp", "to": "GDSetBlendMode",... | 781f812575199b24f793c3b16ab2873bd6b25ef19c6c0c93080d716dee0e37ab | 2026-06-03T02:41:10.105091+00:00 |
0242a840-021b-40ac-bef0-4b333cc5cc34 | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_COLORCHAN
#define J3D_GRAPH_BASE_COMPONENTS_COLORCHAN
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
#include <JSystem/JRenderer.hpp>
extern const J3DColorChanInfo j3dDefaultColorChanInfo;
inline u32 setChanCtrlMacro(u8 enable, GXColorSrc ambSrc, GXColorSrc matSrc,
... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
#include <JSystem/JRenderer.hpp>
extern const TYPE_1 VAR_2;
inline TYPE_2 FUNC_1(TYPE_3 VAR_3, TYPE_4 VAR_4, TYPE_4 VAR_5,
TYPE_2 VAR_6, TYPE_5 VAR_7,
TYPE_6 VAR_8)
{
TYPE_2 VAR_16 = VA... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 1009, "tree_depth": 15, "variables_renamed": 15, "functions_renamed": 11, "types_renamed": 9, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"useInitializationList\" severity=\"performance\" msg=\"Variable 'mChanCtrl' is assigned in constructor body. Consider performing initialization in initialization list.\" verbose=\"When an object of a ... | [{"from": "j3dDefaultColorChanInfo", "to": "setColorChanInfo", "type": "call_arg"}, {"from": "calcColorChanID", "to": "mChanCtrl", "type": "assignment"}, {"from": "info", "to": "calcColorChanID", "type": "call_arg"}, {"from": "info", "to": "calcColorChanID", "type": "call_arg"}, {"from": "info", "to": "calcColorChanID"... | 3239c98c2fb3dfa909de50791f9775289ed1d1d77994a0b9efce20b1a7517380 | 2026-06-03T02:41:16.894061+00:00 |
455175d8-6a39-4562-bb5e-d87f13b3100f | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_FOG
#define J3D_GRAPH_BASE_COMPONENTS_FOG
#include <JSystem/JRenderer.hpp>
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const J3DFogInfo j3dDefaultFogInfo;
class J3DFog : public J3DFogInfo {
public:
J3DFog() { J3DFogInfo::operator=(j3dDefaultFogInfo); }
J3DFog(const J3... | #ifndef VAR_1
#define VAR_1
#include <JSystem/JRenderer.hpp>
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const TYPE_1 VAR_2;
class TYPE_2 : public TYPE_1 {
public:
FUNC_1() { J3DFogInfo::operator=(VAR_2); }
FUNC_1(const TYPE_1& VAR_3) { J3DFogInfo::operator=(VAR_3); }
void VAR_4() const
{
FUNC_2(FUNC... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 142, "tree_depth": 13, "variables_renamed": 3, "functions_renamed": 4, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J3DFog' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J3DFog' has a constructor with 1 argument that is n... | [{"from": "j3dDefaultFogInfo", "to": "J3DFogInfo::operator=", "type": "call_arg"}, {"from": "info", "to": "J3DFogInfo::operator=", "type": "call_arg"}, {"from": "GXFogType", "to": "J3DGDSetFog", "type": "call_arg"}, {"from": "mStartZ", "to": "J3DGDSetFog", "type": "call_arg"}, {"from": "mEndZ", "to": "J3DGDSetFog", "ty... | b6afeed6a4555c5e5783eaf94fc318c0f8435e5f571209e168c490e62c57af00 | 2026-06-03T02:41:22.328035+00:00 |
abdb6132-363b-4b50-adb4-5cf0764c55ea | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_GXCOLOR
#define J3D_GRAPH_BASE_COMPONENTS_GXCOLOR
#include <dolphin/gx/GXStruct.h>
class J3DGXColor {
public:
J3DGXColor() { }
J3DGXColor(const GXColor& other)
{
color.r = other.r;
color.g = other.g;
color.b = other.b;
color.a = other.a;
}
J3DGXColor(const J3DGXColor& ot... | #ifndef VAR_1
#define VAR_1
#include <dolphin/gx/GXStruct.h>
class TYPE_1 {
public:
FUNC_1() { }
FUNC_1(const TYPE_2& VAR_2)
{
VAR_3.VAR_4 = VAR_2.VAR_4;
VAR_3.VAR_5 = VAR_2.VAR_5;
VAR_3.VAR_6 = VAR_2.VAR_6;
VAR_3.VAR_7 = VAR_2.VAR_7;
}
FUNC_1(const TYPE_1& VAR_2)
{
VAR_3.VAR_4 = VAR_2.VAR_3.VAR_4;
VA... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 249, "tree_depth": 11, "variables_renamed": 2, "functions_renamed": 1, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J3DGXColor' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J3DGXColor' has a constructor with 1 argument t... | [] | a76d41e7521d9ae7b888c5e385bb14cc5bed30c47b12ca2208aeda46f85a6260 | 2026-06-03T02:41:27.854254+00:00 |
5f757f2d-5edd-467b-b30f-aecb67cd4bbd | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_GXCOLORS10
#define J3D_GRAPH_BASE_COMPONENTS_GXCOLORS10
#include <dolphin/gx/GXStruct.h>
class J3DGXColorS10 {
public:
J3DGXColorS10() { }
J3DGXColorS10(const GXColorS10& other)
{
color.r = other.r;
color.g = other.g;
color.b = other.b;
color.a = other.a;
}
J3DGXColorS1... | #ifndef VAR_1
#define VAR_1
#include <dolphin/gx/GXStruct.h>
class TYPE_1 {
public:
FUNC_1() { }
FUNC_1(const TYPE_2& VAR_2)
{
VAR_3.VAR_4 = VAR_2.VAR_4;
VAR_3.VAR_5 = VAR_2.VAR_5;
VAR_3.VAR_6 = VAR_2.VAR_6;
VAR_3.VAR_7 = VAR_2.VAR_7;
}
FUNC_1(const TYPE_1& VAR_2)
{
VAR_3.VAR_4 = VAR_2.VAR_3.VAR_4;
VA... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 249, "tree_depth": 11, "variables_renamed": 2, "functions_renamed": 1, "types_renamed": 2, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J3DGXColorS10' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J3DGXColorS10' has a constructor with 1 argu... | [] | 9f78b154b73fcdb9fecf752b685ddaaee0cd8b22153951433650f57f35e9150b | 2026-06-03T02:41:33.278161+00:00 |
44154fd4-478d-4224-a9da-1862210b0e21 | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_INDTEVSTAGE
#define J3D_GRAPH_BASE_COMPONENTS_INDTEVSTAGE
#include <JSystem/JRenderer.hpp>
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const J3DIndTevStageInfo j3dDefaultIndTevStageInfo;
class J3DIndTevStage : public J3DIndTevStageInfo {
public:
J3DIndTevStage()
{
J... | #ifndef VAR_1
#define VAR_1
#include <JSystem/JRenderer.hpp>
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const TYPE_1 VAR_2;
class TYPE_2 : public TYPE_1 {
public:
FUNC_1()
{
J3DIndTevStageInfo::operator=(VAR_2);
}
FUNC_1(const TYPE_1& VAR_3)
{
J3DIndTevStageInfo::operator=(VAR_3);
}
TYPE_2& ope... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 275, "tree_depth": 12, "variables_renamed": 5, "functions_renamed": 2, "types_renamed": 10, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J3DIndTevStage' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J3DIndTevStage' has a constructor with 1 ar... | [{"from": "j3dDefaultIndTevStageInfo", "to": "J3DIndTevStageInfo::operator=", "type": "call_arg"}, {"from": "info", "to": "J3DIndTevStageInfo::operator=", "type": "call_arg"}, {"from": "param_1", "to": "JRNSetTevIndirect", "type": "call_arg"}, {"from": "mIndStage", "to": "JRNSetTevIndirect", "type": "call_arg"}, {"from... | 1400df21951bd5c0690ddb61c14ce8b6ae390ed5db70c971055d780688c3397b | 2026-06-03T02:41:40.171248+00:00 |
a282ef30-0188-480b-8e22-edbc98a11601 | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_INDTEXCOORDSCALE
#define J3D_GRAPH_BASE_COMPONENTS_INDTEXCOORDSCALE
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const J3DIndTexCoordScaleInfo j3dDefaultIndTexCoordScaleInfo;
class J3DIndTexCoordScale : public J3DIndTexCoordScaleInfo {
public:
J3DIndTexCoordScale()
{
... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const TYPE_1 VAR_2;
class TYPE_2 : public TYPE_1 {
public:
FUNC_1()
{
*(TYPE_1*)this = VAR_2;
}
FUNC_1(const TYPE_1& VAR_3)
{
*(TYPE_1*)this = VAR_3;
}
~FUNC_1() { }
TYPE_3 VAR_4() { return VAR_5; }
TYPE_3 VAR_6() { return... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 142, "tree_depth": 13, "variables_renamed": 3, "functions_renamed": 1, "types_renamed": 4, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"functionStatic\" severity=\"style\" msg=\"Either there is a missing 'override', or the member function 'J3DIndTexCoordScale::load' can be static.\" verbose=\"Either there is a missing '... | [] | f4ad8751f4e57ab34cd06934d24be90c9643c5e3b17ca9a6189dff5003d24628 | 2026-06-03T02:41:45.614444+00:00 |
aca88d4f-8995-473a-811c-572b25ac4812 | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_INDTEXMTX
#define J3D_GRAPH_BASE_COMPONENTS_INDTEXMTX
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
#include <JSystem/JRenderer.hpp>
extern const J3DIndTexMtxInfo j3dDefaultIndTexMtxInfo;
class J3DIndTexMtx : public J3DIndTexMtxInfo {
public:
J3DIndTexMtx() { *(J3DIndTexMtxInfo... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
#include <JSystem/JRenderer.hpp>
extern const TYPE_1 VAR_2;
class TYPE_2 : public TYPE_1 {
public:
FUNC_1() { *(TYPE_1*)this = VAR_2; }
FUNC_1(const TYPE_1& VAR_3)
{
*(TYPE_1*)this = VAR_3;
}
~FUNC_1() { }
void VAR_5(TYPE_3 VAR_4)
{
... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 133, "tree_depth": 13, "variables_renamed": 4, "functions_renamed": 2, "types_renamed": 4, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J3DIndTexMtx' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J3DIndTexMtx' has a constructor with 1 argume... | [{"from": "idx", "to": "JRNSetIndTexMtx", "type": "call_arg"}, {"from": "mOffsetMtx", "to": "JRNSetIndTexMtx", "type": "call_arg"}, {"from": "mScaleExp", "to": "JRNSetIndTexMtx", "type": "call_arg"}] | a922406686efb33bcccd1168506bc5bffe9bed84fdc997becb395abab5054ab9 | 2026-06-03T02:41:51.080576+00:00 |
7590dcd7-2518-4b4c-99e8-d37cb656e218 | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_INDTEXORDER
#define J3D_GRAPH_BASE_COMPONENTS_INDTEXORDER
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const J3DIndTexOrderInfo j3dDefaultIndTexOrderNull;
class J3DIndTexOrder : public J3DIndTexOrderInfo {
public:
J3DIndTexOrder() { *(J3DIndTexOrderInfo*)this = j3dDefau... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const TYPE_1 VAR_2;
class TYPE_2 : public TYPE_1 {
public:
FUNC_1() { *(TYPE_1*)this = VAR_2; }
FUNC_1(const TYPE_1& VAR_3)
{
*(TYPE_1*)this = VAR_3;
}
TYPE_3 VAR_4() const { return VAR_5; }
TYPE_3 VAR_6() const { return VAR_7;... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 133, "tree_depth": 13, "variables_renamed": 3, "functions_renamed": 1, "types_renamed": 4, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J3DIndTexOrder' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J3DIndTexOrder' has a constructor with 1 ar... | [] | a388755497ee727a2eb0b1544883122f5483b7a512a87e14468731d5ccf79abe | 2026-06-03T02:41:56.574204+00:00 |
4cb0e735-5043-43f1-a871-c8f742c9e371 | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_LIGHTOBJ
#define J3D_GRAPH_BASE_COMPONENTS_LIGHTOBJ
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const J3DLightInfo j3dDefaultLightInfo;
class J3DLightObj : public J3DLightInfo {
public:
J3DLightObj() { setDefault(); }
// Completely made up to force J3DLightInfo::oper... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const TYPE_1 VAR_2;
class TYPE_2 : public TYPE_1 {
public:
FUNC_1() { FUNC_2(); }
void VAR_4() { FUNC_3(VAR_2); }
void VAR_5(const TYPE_1& VAR_3)
{
J3DLightInfo::operator=(VAR_2);
}
void VAR_6(TYPE_3) const;
public:
char VAR_7... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 121, "tree_depth": 11, "variables_renamed": 3, "functions_renamed": 3, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-563", "CWE-119"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"class member 'J3DLightObj::unk34' is never used.\" verbose=\"class member 'J3DLightObj::unk34' is never used.\" cwe=\"563\" file0=\"C... | [{"from": "j3dDefaultLightInfo", "to": "setInfo", "type": "call_arg"}, {"from": "j3dDefaultLightInfo", "to": "J3DLightInfo::operator=", "type": "call_arg"}] | a0ee3a5de9d2faeab5983a52075ddeb6c2bb9f5c2a48c34a70b974daf69b1ae7 | 2026-06-03T02:42:03.638153+00:00 |
e876652e-f314-40a3-9bf2-6d58056303d1 | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_NBTSCALE
#define J3D_GRAPH_BASE_COMPONENTS_NBTSCALE
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const J3DNBTScaleInfo j3dDefaultNBTScaleInfo;
class J3DNBTScale : public J3DNBTScaleInfo {
public:
J3DNBTScale()
{
mbHasScale = j3dDefaultNBTScaleInfo.mbHasScale;
mScal... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const TYPE_1 VAR_2;
class TYPE_2 : public TYPE_1 {
public:
FUNC_1()
{
VAR_5 = VAR_2.VAR_5;
VAR_6.VAR_7 = VAR_2.VAR_6.VAR_7;
VAR_6.VAR_8 = VAR_2.VAR_6.VAR_8;
VAR_6.VAR_9 = VAR_2.VAR_6.VAR_9;
}
explicit FUNC_1(const TYP... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 268, "tree_depth": 11, "variables_renamed": 4, "functions_renamed": 1, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1012, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 59ddd85dcef8919a6b167ed24c1f19b63ef0c53e79ddd38d9a0f84446216c6f4 | 2026-06-03T02:42:09.732902+00:00 |
a82305e0-e5c4-4f2f-8944-16756750f5e7 | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_TEVORDER
#define J3D_GRAPH_BASE_COMPONENTS_TEVORDER
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const J3DTevOrderInfo j3dDefaultTevOrderInfoNull;
class J3DTevOrder : public J3DTevOrderInfo {
public:
J3DTevOrder() { J3DTevOrderInfo::operator=(j3dDefaultTevOrderInfoNull)... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const TYPE_1 VAR_2;
class TYPE_2 : public TYPE_1 {
public:
FUNC_1() { J3DTevOrderInfo::operator=(VAR_2); }
FUNC_1(const TYPE_1& VAR_3)
{
J3DTevOrderInfo::operator=(VAR_3);
}
TYPE_2& operator=(const TYPE_2& VAR_4)
{
VAR_5 = V... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 169, "tree_depth": 11, "variables_renamed": 4, "functions_renamed": 1, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J3DTevOrder' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J3DTevOrder' has a constructor with 1 argument... | [{"from": "j3dDefaultTevOrderInfoNull", "to": "J3DTevOrderInfo::operator=", "type": "call_arg"}, {"from": "info", "to": "J3DTevOrderInfo::operator=", "type": "call_arg"}] | 850fa627b9f93bba4805cc9d9a0bfe9b6d378ad21ca00bf56fa8a2fd58df2800 | 2026-06-03T02:42:16.571980+00:00 |
b96ca808-5260-491f-b241-651d94e471ac | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_TEVSTAGE
#define J3D_GRAPH_BASE_COMPONENTS_TEVSTAGE
#include <JSystem/JRenderer.hpp>
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const J3DTevSwapModeInfo j3dDefaultTevSwapMode;
extern const J3DTevStageInfo j3dDefaultTevStageInfo;
class J3DTevStage {
public:
J3DTevStage... | #ifndef VAR_1
#define VAR_1
#include <JSystem/JRenderer.hpp>
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const TYPE_1 VAR_2;
extern const TYPE_2 VAR_3;
class TYPE_3 {
public:
FUNC_1()
{
FUNC_2(VAR_3);
FUNC_3(VAR_2);
}
FUNC_1(const TYPE_2& VAR_4)
{
FUNC_2(VAR_4);
FUNC_3(VAR_2);
}
TYPE_3& oper... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 1667, "tree_depth": 17, "variables_renamed": 15, "functions_renamed": 16, "types_renamed": 5, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J3DTevStage' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J3DTevStage' has a constructor with 1 argument... | [{"from": "j3dDefaultTevStageInfo", "to": "setTevStageInfo", "type": "call_arg"}, {"from": "j3dDefaultTevSwapMode", "to": "setTevSwapModeInfo", "type": "call_arg"}, {"from": "info", "to": "setTevStageInfo", "type": "call_arg"}, {"from": "j3dDefaultTevSwapMode", "to": "setTevSwapModeInfo", "type": "call_arg"}, {"from": ... | 0bbdafa948536609647f11b7734a1cf1c6604e6775de104f1d1f5185c5a3511c | 2026-06-03T02:42:22.049760+00:00 |
b9c715de-eaa8-404f-acf0-c39031fb93f8 | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_TEVSWAPMODETABLE
#define J3D_GRAPH_BASE_COMPONENTS_TEVSWAPMODETABLE
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
#include <dolphin/types.h>
extern const J3DTevSwapModeTableInfo j3dDefaultTevSwapModeTable;
extern const u8 j3dDefaultTevSwapTableID;
extern u8 j3dTevSwapTableTable[1... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
#include <dolphin/types.h>
extern const TYPE_1 VAR_2;
extern const TYPE_2 VAR_3;
extern TYPE_2 VAR_4[1024];
inline TYPE_2 FUNC_1(TYPE_2 VAR_5, TYPE_2 VAR_6, TYPE_2 VAR_7, TYPE_2 VAR_8)
{
return VAR_5 * 64 + VAR_6 * 16 + VAR_7 * 4 + VAR_8;
}
... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 296, "tree_depth": 12, "variables_renamed": 10, "functions_renamed": 2, "types_renamed": 3, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"useInitializationList\" severity=\"performance\" msg=\"Variable 'mIdx' is assigned in constructor body. Consider performing initialization in initialization list.\" verbose=\"When an object of a class... | [{"from": "j3dDefaultTevSwapTableID", "to": "mIdx", "type": "propagation"}, {"from": "calcTevSwapTableID", "to": "mIdx", "type": "assignment"}, {"from": "info", "to": "calcTevSwapTableID", "type": "call_arg"}, {"from": "info", "to": "calcTevSwapTableID", "type": "call_arg"}, {"from": "info", "to": "calcTevSwapTableID",... | 875859a802cac635665acea8fd9dd387158a66898f22c352802499f989ee9f4c | 2026-06-03T02:42:29.659291+00:00 |
a1c7e1bc-d5ad-49a0-a9f4-1900d298f489 | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_TEXCOORD
#define J3D_GRAPH_BASE_COMPONENTS_TEXCOORD
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const J3DTexCoordInfo j3dDefaultTexCoordInfo[8];
class J3DTexCoord : public J3DTexCoordInfo {
public:
J3DTexCoord() { J3DTexCoordInfo::operator=(j3dDefaultTexCoordInfo[0]); ... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const TYPE_1 VAR_2[8];
class TYPE_2 : public TYPE_1 {
public:
FUNC_1() { J3DTexCoordInfo::operator=(VAR_2[0]); }
FUNC_1(const TYPE_1& VAR_3) { *(TYPE_1*)this = VAR_3; }
TYPE_2& operator=(const TYPE_2& VAR_4)
{
VAR_6 = VAR_4.VAR_6... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 259, "tree_depth": 13, "variables_renamed": 5, "functions_renamed": 1, "types_renamed": 6, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J3DTexCoord' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J3DTexCoord' has a constructor with 1 argument... | [{"from": "j3dDefaultTexCoordInfo", "to": "J3DTexCoordInfo::operator=", "type": "call_arg"}, {"from": "v", "to": "mTexGenType", "type": "propagation"}, {"from": "v", "to": "mTexGenSrc", "type": "propagation"}, {"from": "v", "to": "mTexGenMtx", "type": "propagation"}] | 5f4c4a4b01beb8f2b67a4001cf09d8d2c4d6a93b7efbc9a5d675beb2c1a6f9b2 | 2026-06-03T02:42:35.221506+00:00 |
11db09e9-31b7-4adb-a00c-beb7c950f3d4 | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_TEXMTX
#define J3D_GRAPH_BASE_COMPONENTS_TEXMTX
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const J3DTexMtxInfo j3dDefaultTexMtxInfo;
class J3DTexMtx : public J3DTexMtxInfo {
public:
J3DTexMtx() { J3DTexMtxInfo::operator=(j3dDefaultTexMtxInfo); }
J3DTexMtx(const J3DTe... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
extern const TYPE_1 VAR_2;
class TYPE_2 : public TYPE_1 {
public:
FUNC_1() { J3DTexMtxInfo::operator=(VAR_2); }
FUNC_1(const TYPE_1& VAR_3) { J3DTexMtxInfo::operator=(VAR_3); }
void VAR_6();
void VAR_7(TYPE_3) const;
TYPE_4& VAR_8() { re... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 216, "tree_depth": 12, "variables_renamed": 5, "functions_renamed": 2, "types_renamed": 6, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J3DTexMtx' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J3DTexMtx' has a constructor with 1 argument tha... | [{"from": "j3dDefaultTexMtxInfo", "to": "J3DTexMtxInfo::operator=", "type": "call_arg"}, {"from": "info", "to": "J3DTexMtxInfo::operator=", "type": "call_arg"}, {"from": "viewMtx", "to": "MTXCopy", "type": "call_arg"}, {"from": "mViewMtx", "to": "MTXCopy", "type": "call_arg"}, {"from": "effectMtx", "to": "J3DTexMtxInfo... | 9c1a4d69647621bc1c6a6e819e222c8c9c078090ec2cd7bf272c78be86163e1f | 2026-06-03T02:42:40.697473+00:00 |
7549aed0-a336-4584-a331-94938b6a168e | GITHUB | #ifndef J3D_GRAPH_BASE_COMPONENTS_ZMODE
#define J3D_GRAPH_BASE_COMPONENTS_ZMODE
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
#include <dolphin/gd.h>
extern const u16 j3dDefaultZModeID;
extern u8 j3dZModeTable[96];
inline u16 calcZModeID(u8 param_0, u8 param_1, u8 param_2)
{
return (param_1 * 2) + (param_0 * 0x... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DStruct.hpp>
#include <dolphin/gd.h>
extern const TYPE_1 VAR_2;
extern TYPE_2 VAR_3[96];
inline TYPE_1 FUNC_1(TYPE_2 VAR_4, TYPE_2 VAR_5, TYPE_2 VAR_6)
{
return (VAR_5 * 2) + (VAR_4 * 0x10) + VAR_6;
}
class TYPE_3 {
public:
FUNC_2() { VAR_12 = VAR_2; }
... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 503, "tree_depth": 15, "variables_renamed": 11, "functions_renamed": 7, "types_renamed": 5, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"useInitializationList\" severity=\"performance\" msg=\"Variable 'mZModeID' is assigned in constructor body. Consider performing initialization in initialization list.\" verbose=\"When an object of a c... | [{"from": "j3dDefaultZModeID", "to": "mZModeID", "type": "propagation"}, {"from": "id", "to": "mZModeID", "type": "propagation"}, {"from": "info", "to": "setZModeInfo", "type": "call_arg"}, {"from": "calcZModeID", "to": "mZModeID", "type": "assignment"}, {"from": "info", "to": "calcZModeID", "type": "call_arg"}, {"from... | 530144637d39c20275522a3244b765acccdceb46600dfa90aa41d79740d517fd | 2026-06-03T02:42:46.193501+00:00 |
91ca50db-30ae-4437-a852-1d7d38351c72 | GITHUB | #ifndef J3D_DRAW_BUFFER_HPP
#define J3D_DRAW_BUFFER_HPP
#include <dolphin/mtx.h>
class J3DPacket;
class J3DMatPacket;
class J3DCallBackPacket;
class J3DDrawBuffer {
public:
typedef bool (J3DDrawBuffer::*sortFunc)(J3DMatPacket*);
typedef void (J3DDrawBuffer::*drawFunc)() const;
enum EDrawType {
DRAW_HEAD,
DRA... | #ifndef VAR_1
#define VAR_1
#include <dolphin/mtx.h>
class TYPE_1;
class TYPE_2;
class TYPE_3;
class TYPE_4 {
public:
typedef bool (TYPE_4::*TYPE_5)(TYPE_2*);
typedef void (TYPE_4::*TYPE_6)() const;
enum TYPE_7 {
VAR_7,
VAR_8,
};
enum TYPE_8 {
VAR_9,
VAR_10,
VAR_11,
VAR_12,
VAR_13,
VAR_14,
};
FUN... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 370, "tree_depth": 10, "variables_renamed": 6, "functions_renamed": 1, "types_renamed": 11, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifie... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-563"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J3DDrawBuffer' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J3DDrawBuffer' has a constructor ... | [{"from": "mtx", "to": "mZMtx", "type": "propagation"}] | d94c0078393c694d06b462cc55d6306cbd640c9a593fa657822c98ed5f044d44 | 2026-06-03T02:42:53.310218+00:00 |
387e2909-bb14-4f60-9c56-b906b89c17e1 | GITHUB | #ifndef J3D_MATERIAL_HPP
#define J3D_MATERIAL_HPP
#include <types.h>
#include <JSystem/J3d/J3DGraphBase/Blocks/J3DTevBlocks.hpp>
#include <JSystem/J3D/J3DGraphBase/Blocks/J3DTexGenBlocks.hpp>
class J3DMaterialAnm;
class J3DShape;
class J3DColorBlock;
class J3DTexGenBlock;
class J3DTevBlock;
class J3DIndBlock;
class ... | #ifndef VAR_1
#define VAR_1
#include <types.h>
#include <JSystem/J3d/J3DGraphBase/Blocks/J3DTevBlocks.hpp>
#include <JSystem/J3D/J3DGraphBase/Blocks/J3DTexGenBlocks.hpp>
class TYPE_1;
class TYPE_2;
class TYPE_3;
class TYPE_4;
class TYPE_5;
class TYPE_6;
class TYPE_7;
class TYPE_8;
class TYPE_9 {
public:
FUNC_1() { FUN... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 890, "tree_depth": 12, "variables_renamed": 7, "functions_renamed": 2, "types_renamed": 19, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identifi... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-563", "CWE-119"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"unusedStructMember\" severity=\"style\" msg=\"class member 'J3DMaterial::unk14' is never used.\" verbose=\"class member 'J3DMaterial::unk14' is never used.\" cwe=\"563\" file0=\"C... | [{"from": "v", "to": "unk38", "type": "propagation"}, {"from": "idx", "to": "mTevBlock->getTexNo", "type": "call_arg"}, {"from": "idx", "to": "mTevBlock->getTevKColor", "type": "call_arg"}, {"from": "idx", "to": "mTevBlock->getTevColor", "type": "call_arg"}, {"from": "idx", "to": "mTexGenBlock->getTexMtx", "type": "cal... | 5cb8ce868e5ca131bc4eb3877ec8bfa6efa07154cd137d67f496b8d58864cd99 | 2026-06-03T02:42:59.261829+00:00 |
07ee87be-b931-405e-9b3b-da38191614b8 | GITHUB | #ifndef J3D_PACKET_HPP
#define J3D_PACKET_HPP
#include <types.h>
#include <dolphin/gd.h>
#include <dolphin/mtx.h>
#include <JSystem/J3D/J3DGraphBase/J3DDrawBuffer.hpp>
class J3DMatPacket;
class J3DDrawBuffer;
class J3DShape;
class J3DMaterial;
class J3DMaterialAnm;
class J3DShapePacket;
class J3DTexture;
class J3DDi... | #ifndef VAR_1
#define VAR_1
#include <types.h>
#include <dolphin/gd.h>
#include <dolphin/mtx.h>
#include <JSystem/J3D/J3DGraphBase/J3DDrawBuffer.hpp>
class TYPE_1;
class TYPE_2;
class TYPE_3;
class TYPE_4;
class TYPE_5;
class TYPE_6;
class TYPE_7;
class TYPE_8 {
public:
FUNC_1()
{
VAR_18 = nullptr;
VAR_19 = nullp... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 1256, "tree_depth": 12, "variables_renamed": 17, "functions_renamed": 9, "types_renamed": 18, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-563", "CWE-119"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"useInitializationList\" severity=\"performance\" msg=\"Variable 'unk8' is assigned in constructor body. Consider performing initialization in initialization list.\" verbose=\"Whe... | [{"from": "packet", "to": "unk4", "type": "propagation"}, {"from": "cb", "to": "unk10", "type": "propagation"}, {"from": "pObj", "to": "unk30", "type": "propagation"}, {"from": "flag", "to": "unk10", "type": "propagation"}, {"from": "packet", "to": "unk34", "type": "propagation"}, {"from": "pTexture", "to": "mTexture",... | 9a29034c8f238959e3a5d80cc694adc5424ca5c966db7f58324a12dbb2de7f15 | 2026-06-03T02:43:04.607712+00:00 |
70d34068-83c4-4726-8447-2bc74e40dc88 | GITHUB | #ifndef J3D_SHAPE_HPP
#define J3D_SHAPE_HPP
#include <JSystem/J3D/J3DGraphBase/J3DVertex.hpp>
#include <dolphin/mtx.h>
#include <dolphin/gx.h>
class J3DShapeMtx {
public:
typedef void (J3DShapeMtx::*LoadPipeline)(int, u16) const;
J3DShapeMtx(u16 useMtxIndex)
: unk4(useMtxIndex)
{
}
virtual ~J3DShapeMtx() ... | #ifndef VAR_1
#define VAR_1
#include <JSystem/J3D/J3DGraphBase/J3DVertex.hpp>
#include <dolphin/mtx.h>
#include <dolphin/gx.h>
class TYPE_1 {
public:
typedef void (TYPE_1::*TYPE_2)(int, TYPE_3) const;
FUNC_1(TYPE_3 VAR_2)
: VAR_22(VAR_2)
{
}
virtual ~FUNC_1() { }
virtual int VAR_23() const { return 'SMTX'; }... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 1454, "tree_depth": 13, "variables_renamed": 21, "functions_renamed": 6, "types_renamed": 15, "has_errors": true, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif... | {} | {"is_vulnerable": true, "cwe_ids": ["CWE-398", "CWE-563", "CWE-119"], "tool_findings": [{"tool": "cppcheck", "detail": "<error id=\"noExplicitConstructor\" severity=\"style\" msg=\"Class 'J3DShapeMtx' has a constructor with 1 argument that is not explicit.\" verbose=\"Class 'J3DShapeMtx' has a const... | [{"from": "a", "to": "unk3C", "type": "propagation"}, {"from": "b", "to": "unk3C", "type": "propagation"}, {"from": "c", "to": "unk3C", "type": "propagation"}, {"from": "d", "to": "unk3C", "type": "propagation"}, {"from": "e", "to": "unk3C", "type": "propagation"}, {"from": "f", "to": "unk3C", "type": "propagation"}, {... | 6313b3caf1c7533ca05f45351d6a10dc74ce70725ae7f63b534c7dc83a7a594d | 2026-06-03T02:43:10.537622+00:00 |
a10f835e-cb1b-41f7-a1ff-43b5dea0582a | GITHUB | #ifndef J3DSTRUCT_H
#define J3DSTRUCT_H
#include <dolphin/gx.h>
#include <dolphin/mtx.h>
class J3DLightInfo {
public:
J3DLightInfo& operator=(const J3DLightInfo& other)
{
mLightPosition.x = other.mLightPosition.x;
mLightPosition.y = other.mLightPosition.y;
mLightPosition.z = other.mLightPosition.z;
mLightD... | #ifndef VAR_1
#define VAR_1
#include <dolphin/gx.h>
#include <dolphin/mtx.h>
class TYPE_1 {
public:
TYPE_1& operator=(const TYPE_1& VAR_2)
{
VAR_11.VAR_12 = VAR_2.VAR_11.VAR_12;
VAR_11.VAR_13 = VAR_2.VAR_11.VAR_13;
VAR_11.VAR_14 = VAR_2.VAR_11.VAR_14;
VAR_15.VAR_12 = VAR_2.VAR_15.VAR_12;
VAR_15.VAR_13 = VAR... | github_ast_structnorm | n^2 | {"language": "cpp", "total_nodes": 2045, "tree_depth": 14, "variables_renamed": 5, "functions_renamed": 1, "types_renamed": 28, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_ifdef ( #ifndef #ifndef ) #ifndef ( identifier VAR_1 ) identifier ( preproc_def ( #define #define ) #define ( identif... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1012, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 5622a3a90eb78d6b457d688433d3dec95d88adac8a4f48c1fd52b30091eb75f2 | 2026-06-03T02:43:17.253810+00:00 |
bf168678-de43-4a68-8322-935101be862f | GITHUB | #include <stdio.h>
#include "calibration.h"
#include "hardware.h"
#include "esp_err.h"
#include "esp_log.h"
static const char *TAG = "CALIBRATION";
const uint16_t SCR_RDATA_CONST = 300; //Fixed source gain value
const uint16_t SNS_RDATA_CONST = 60; //Fixed sense gain value
uint16_t ewma_amp[EWMA_AMP_COUNT] = {0};
/... | #include <stdio.h>
#include "calibration.h"
#include "hardware.h"
#include "esp_err.h"
#include "esp_log.h"
static const char *VAR_1 = "CALIBRATION";
const uint16_t VAR_2 = 300;
const uint16_t VAR_3 = 60;
uint16_t VAR_4[VAR_5] = {0};
TYPE_1 VAR_6[VAR_7 - VAR_8][VAR_7 - VAR_8-VAR_9-1] = {
[0][0] = {.VAR_12 = 1, .V... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 1628, "tree_depth": 11, "variables_renamed": 10, "functions_renamed": 4, "types_renamed": 1, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <stdio.h> ) system_lib_string ) preproc_include ( preproc_... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [{"from": "SCR_RDATA_CONST", "to": "set_src_inamp_gain", "type": "call_arg"}, {"from": "TAG", "to": "ESP_LOGE", "type": "call_arg"}, {"from": "SNS_RDATA_CONST", "to": "set_sense_inamp_gain", "type": "call_arg"}, {"from": "TAG", "to": "ESP_LOGE", "type": "call_arg"}] | e7e79d6b6c1fd57a5c05b7a2733dab134bf31340c670246673c4dbd7dc391417 | 2026-06-03T02:43:23.640456+00:00 |
0d4f3f19-fcab-41ab-a6ff-a234787295ce | GITHUB | #pragma once
#include <stdio.h>
#include <stdlib.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_err.h"
#define NUM_ELECTRODE (8)
#define NUM_ELECTRODE_INJECT (1)
#define NUM_ELECTRODE_SINK (1)
#define NUM_ELECTRODE_PAIRS (NUM_ELECTRODE - NUM_ELECTRODE_INJECT)
#define NUM_SENSE_PAIRS (NUM_... | #pragma once
#include <stdio.h>
#include <stdlib.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_err.h"
#define VAR_1 (8)
#define VAR_2 (1)
#define VAR_3 (1)
#define VAR_4 (NUM_ELECTRODE - NUM_ELECTRODE_INJECT)
#define VAR_5 (NUM_ELECTRODE - NUM_ELECTRODE_INJECT - NUM_ELECTRODE_SINK - 1)
#def... | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 135, "tree_depth": 7, "variables_renamed": 11, "functions_renamed": 1, "types_renamed": 1, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_include ... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | ba5a3f88b395f505a6f21b22afb17f7a2fd18a55eda9e7be9313566c633faa21 | 2026-06-03T02:43:29.267461+00:00 |
e63e8148-3561-435c-af8d-d284263f0209 | GITHUB |
// !!! This file is generated using emlearn !!!
#include <stdint.h>
static inline int32_t gesture_model_tree_0(const float *features, int32_t features_length) {
if (features[82] < 2.719058f) {
if (features[2] < -0.035912f) {
if (features[33] < 14.694012f) {
... | #include <stdint.h>
static inline int32_t FUNC_1(const float *VAR_1, int32_t VAR_2) {
if (VAR_1[82] < 2.719058f) {
if (VAR_1[2] < -0.035912f) {
if (VAR_1[33] < 14.694012f) {
if (VAR_1[111] < 29.850375f) {
return 2;
... | github_ast_structnorm | log n | {"language": "cpp", "total_nodes": 99483, "tree_depth": 44, "variables_renamed": 9, "functions_renamed": 102, "types_renamed": 0, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( system_lib_string <stdint.h> ) system_lib_string ) preproc_include ( funct... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [{"from": "gesture_model_tree_0", "to": "_class", "type": "assignment"}, {"from": "features", "to": "gesture_model_tree_0", "type": "call_arg"}, {"from": "features_length", "to": "gesture_model_tree_0", "type": "call_arg"}, {"from": "gesture_model_tree_1", "to": "_class", "type": "assignment"}, {"from": "features", "to... | 5439fc3bdb2eb98aff3b003eadf0b51041b7f3c195ff81c6bf09050edf86f278 | 2026-06-03T02:43:36.297183+00:00 |
1eb11830-7d94-41b4-8af9-b347f7d90778 | GITHUB | #include "inference.h"
#include "calibration.h"
#include "esp_log.h"
#include "esp_timer.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "gesture_model.h"
#define WINDOW_SIZE 40
#define NUM_FEATURES 5
#define NUM_CHANNELS EWMA_AMP_COUNT // 3... | #include "inference.h"
#include "calibration.h"
#include "esp_log.h"
#include "esp_timer.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "gesture_model.h"
#define VAR_1 40
#define VAR_2 5
#define VAR_3 EWMA_AMP_COUNT // 35 channels
#define V... | github_ast_structnorm | n log n | {"language": "cpp", "total_nodes": 2008, "tree_depth": 15, "variables_renamed": 57, "functions_renamed": 16, "types_renamed": 1, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_include ( #include #include ) #include ( string_literal ( \" \" ) \" ( string_content inference.h ) string_content (... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [{"from": "m", "to": "mean", "type": "propagation"}, {"from": "input", "to": "dsps_dotprod_f32", "type": "call_arg"}, {"from": "input", "to": "dsps_dotprod_f32", "type": "call_arg"}, {"from": "sum_sq", "to": "dsps_dotprod_f32", "type": "call_arg"}, {"from": "len", "to": "dsps_dotprod_f32", "type": "call_arg"}, {"from":... | 1f54ae706bb469c56c8f5397fa3e2d499efd3ecc85ee3bd49dfea7fbc4661bc1 | 2026-06-03T02:43:42.187482+00:00 |
bcfaa5d7-55da-40ef-9a92-6328df45c8a4 | GITHUB | #pragma once
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
extern TaskHandle_t inference_task_handle;
void start_inference_task(void);
| #pragma once
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
extern TYPE_1 VAR_1;
void FUNC_1(void); | github_ast_structnorm | 1 | {"language": "cpp", "total_nodes": 32, "tree_depth": 6, "variables_renamed": 2, "functions_renamed": 1, "types_renamed": 1, "has_errors": false, "sbt_sequence_preview": "( translation_unit ( preproc_call ( preproc_directive #pragma ) preproc_directive ( preproc_arg once ) preproc_arg ) preproc_call ( preproc_include ( ... | {} | {"is_vulnerable": false, "cwe_ids": [], "tool_findings": [], "auto_labeled": true, "risk_scoring": {"base_score": 0.0, "attack_surface": 0.5, "asset_criticality": 0.1, "final_calculated_risk": 0.0, "cwe_id": null, "is_vulnerable": false}} | [] | 9ff288fe1da869392b5692d5767db92de16feffd52ca338b62c7bf1750a40fa7 | 2026-06-03T02:43:47.874594+00:00 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.