// // EditorSFXManager::firstSetup from 0x1004c7580 to 0x1004c75f8 (120 bytes) // // 1 xrefs: // > GameManager::firstLoad @ 0x1003ba11c // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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:06:23 +0000 // _QWORD *__fastcall EditorSFXManager::firstSetup(__int64 a1) { __int64 v2; // x0 __int64 v3; // x0 _QWORD *result; // x0 EditorSFXManager::clearAll((_QWORD *)a1); if ( *(char *)(a1 + 191) < 0 ) { **(_BYTE **)(a1 + 168) = 0; *(_QWORD *)(a1 + 176) = 0; } else { *(_BYTE *)(a1 + 168) = 0; *(_BYTE *)(a1 + 191) = 0; } v2 = *(_QWORD *)(a1 + 144); if ( v2 ) sub_1002E7674(v2); v3 = *(_QWORD *)(a1 + 152); if ( v3 ) sub_1002E7674(v3); *(_DWORD *)(a1 + 160) = 1; sub_100018AA8((_QWORD *)(a1 + 40)); result = sub_100018AA8((_QWORD *)(a1 + 80)); *(_DWORD *)(a1 + 192) = 1065353216; return result; }