// // sub_45F08 from 0x45f08 to 0x45f80 (120 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:40:38 +0000 // int __fastcall sub_45F08(_DWORD *a1, _BYTE *a2) { int v3; // r1 unsigned int v5; // r0 unsigned int v6; // r2 int v8; // r0 int v9; // r0 if ( !a2 ) return 31; v3 = a1[8]; if ( (v3 & 0x10) != 0 ) goto LABEL_6; v5 = a1[135]; v6 = v5 + 1; if ( v5 != -1 ) { if ( (v3 & 0x10000) == 0 && *(_DWORD *)(a1[1] + 68872) < v5 ) goto LABEL_6; goto LABEL_16; } v8 = a1[131]; if ( v8 || (v8 = a1[130]) != 0 ) { (*(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v8 + 24))(v8, a2); goto LABEL_11; } if ( a1[115] ) { if ( !a1[5] ) { LABEL_16: *a2 = 0; goto LABEL_17; } sub_A6EF0(a1 + 20, a2, v6); LABEL_11: v9 = (unsigned __int8)*a2; *a2 = v9 ^ 1; if ( !v9 ) return 0; v3 = a1[8]; LABEL_17: a1[8] = v3 & 0xFFFFFFAF; return 0; } LABEL_6: *a2 = 1; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source