// // sub_BFFEC4 from 0xbffec4 to 0xbfff70 (172 bytes) // // 2 xrefs: // > jinit_c_master_control @ 0xc00998 // > jinit_c_master_control @ 0xc009a0 // // 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 // __int64 __fastcall sub_BFFEC4(__int64 a1) { _DWORD *v1; // x19 int v3; // w0 __int64 result; // x0 int v5; // w0 v1 = *(_DWORD **)(a1 + 496); (*(void (**)(void))(*(_QWORD *)(a1 + 560) + 16LL))(); v3 = v1[8]; if ( v3 == 1 ) { v1[8] = 2; result = (unsigned int)(v1[9] + 1); v1[9] = result; } else { if ( v3 ) { if ( v3 == 2 ) { if ( *(_DWORD *)(a1 + 296) ) v1[8] = 1; ++v1[11]; } } else { v5 = *(_DWORD *)(a1 + 296); v1[8] = 2; if ( !v5 ) ++v1[11]; } result = (unsigned int)(v1[9] + 1); v1[9] = result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source