// // EditorSFXManager::firstSetup from 0x77d71e to 0x77d7b4 (150 bytes) // // 1 xrefs: // > GameManager::firstLoad @ 0x4180be // // 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:59:24 +0000 // cocos2d::CCArray *__fastcall EditorSFXManager::firstSetup(cocos2d::CCArray **this) { bool v2; // zf int v3; // r3 cocos2d::CCArray *v4; // r0 cocos2d::CCArray *result; // r0 cocos2d::CCArray *v6; // r5 cocos2d::CCArray *v7; // r3 cocos2d::CCArray *v8; // r5 cocos2d::CCArray *v9; // r3 EditorSFXManager::clearAll((EditorSFXManager *)this); v3 = *(_BYTE *)(this + 21) & 1; v2 = v3 == 0; if ( (*(_BYTE *)(this + 21) & 1) != 0 ) { v3 = 0; *(_BYTE *)*(this + 23) = 0; } else { *((_BYTE *)this + 85) = v3; *((_BYTE *)this + 84) = v3; } v4 = *(this + 18); if ( !v2 ) *(this + 22) = (cocos2d::CCArray *)v3; if ( v4 ) cocos2d::CCArray::removeAllObjects(v4); result = *(this + 19); if ( result ) result = (cocos2d::CCArray *)cocos2d::CCArray::removeAllObjects(result); *(this + 20) = (cocos2d::CCArray *)(&dword_0 + 1); if ( *(this + 8) ) { for ( result = *(this + 7); result; result = v6 ) { v6 = *(cocos2d::CCArray **)result; operator delete(result); } v7 = *(this + 6); *(this + 7) = nullptr; while ( result != v7 ) { *((_DWORD *)*(this + 5) + (_DWORD)result) = 0; result = (cocos2d::CCArray *)((char *)result + 1); } *(this + 8) = nullptr; } if ( *(this + 13) ) { for ( result = *(this + 12); result; result = v8 ) { v8 = *(cocos2d::CCArray **)result; operator delete(result); } v9 = *(this + 11); *(this + 12) = nullptr; while ( result != v9 ) { *((_DWORD *)*(this + 10) + (_DWORD)result) = 0; result = (cocos2d::CCArray *)((char *)result + 1); } *(this + 13) = nullptr; } *(this + 24) = (cocos2d::CCArray *)1065353216; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source