// // engine_unlocked_init from 0xa0bcb0 to 0xa0bd00 (80 bytes) // // 6 xrefs: // > ENGINE_init @ 0xa0be4c // > engine_table_register @ 0xac94b0 // > engine_table_select @ 0xac96d4 // > engine_table_select @ 0xac9710 // > engine_table_select @ 0xac978c // > @ 0x7bd7c // // 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 12:07:43 +0000 // int __fastcall engine_unlocked_init(_DWORD *a1) { int v1; // r3 int (*v3)(void); // r2 int result; // r0 int v5; // r2 v1 = a1[21]; if ( v1 || (v3 = (int (*)(void))a1[12]) == nullptr ) { result = 1; goto LABEL_7; } result = v3(); if ( result ) { v1 = a1[21]; LABEL_7: v5 = a1[20] + 1; a1[21] = v1 + 1; a1[20] = v5; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source