// // sub_76449C from 0x76449c to 0x7645d2 (310 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // _DWORD *__fastcall sub_76449C(_DWORD *a1, int a2, _DWORD *a3, int a4, _DWORD *a5, int a6, int a7, int *a8, int a9) { int v11; // r1 _DWORD *v12; // r4 int v13; // r5 int v14; // r3 int v15; // r7 int v16; // r0 _DWORD *v18; // r3 int v19; // r3 int *v20; // r3 int v21; // r0 _DWORD *v22; // [sp+20h] [bp-18h] BYREF int v23; // [sp+24h] [bp-14h] _DWORD *v24; // [sp+28h] [bp-10h] int v25; // [sp+2Ch] [bp-Ch] int v26; // [sp+30h] [bp-8h] BYREF int v27; // [sp+34h] [bp-4h] BYREF v24 = a3; v25 = a4; sub_764188(a7 + 108); v27 = 0; sub_7642F0(&v22, a2, v24, v25, a5, a6, &v26, 0, 9999, 4u, a7, &v27); v11 = v23; v24 = v22; v25 = v23; v12 = v22; v13 = v23; if ( v27 ) { *a8 |= 4u; if ( !v12 ) goto LABEL_12; } else { if ( v26 >= 0 ) v14 = v26 - 1900; else v14 = v26 + 100; *(_DWORD *)(a9 + 20) = v14; if ( !v12 ) goto LABEL_12; } v11 = v13 + 1; if ( v13 != -1 ) { v15 = 0; if ( !a5 ) { LABEL_10: *a1 = v12; a1[1] = v13; return a1; } LABEL_8: v16 = a6; if ( a6 != -1 ) goto LABEL_9; goto LABEL_14; } v20 = (int *)v12[2]; if ( (unsigned int)v20 >= v12[3] ) v21 = (*(int (__fastcall **)(_DWORD *, int))(*v12 + 36))(v12, v11); else v21 = *v20; if ( v21 != -1 ) { v13 = v21; v15 = 0; if ( !a5 ) goto LABEL_10; goto LABEL_8; } LABEL_12: v12 = a5; if ( !a5 ) goto LABEL_16; v16 = a6; v12 = nullptr; v15 = 1; if ( a6 != -1 ) goto LABEL_9; LABEL_14: v18 = (_DWORD *)a5[2]; if ( (unsigned int)v18 < a5[3] ) { if ( (*v18 == -1) != v15 ) goto LABEL_10; goto LABEL_16; } v16 = (*(int (__fastcall **)(_DWORD *, int))(*a5 + 36))(a5, v11); LABEL_9: if ( (v16 == -1) != v15 ) goto LABEL_10; LABEL_16: v19 = *a8; *a1 = v12; a1[1] = v13; *a8 = v19 | 2; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source