// // GJBaseGameLayer::orderSpawnObjects from 0x1002a4540 to 0x1002a45d8 (152 bytes) // // 2 xrefs: // > PlayLayer::createObjectsFromSetupFinished @ 0x100145260 // > LevelEditorLayer::onPlaytest @ 0x10040492c // // 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:02:14 +0000 // __int64 __fastcall GJBaseGameLayer::orderSpawnObjects(__int64 a1) { __int64 v2; // x0 unsigned int *v3; // x9 __int64 v4; // x8 _QWORD *v5; // x21 unsigned __int64 v6; // x22 _QWORD *v7; // x20 __int64 v9; // [xsp+8h] [xbp-28h] BYREF cocos2d::CCDictionary::removeAllObjects(*(_QWORD *)(a1 + 3312)); v2 = *(_QWORD *)(a1 + 3304); if ( v2 ) { v3 = *(unsigned int **)(v2 + 56); v4 = *v3; if ( (_DWORD)v4 ) { v5 = *((_QWORD **)v3 + 2); v6 = (unsigned __int64)&v5[v4 - 1]; do { v7 = (_QWORD *)*v5; if ( !*v5 ) break; (*(void (__fastcall **)(__int64 *__return_ptr, _QWORD))(*v7 + 1816LL))(&v9, *v5); sub_10002630C(v7 + 223, (double *)&v9); ++v5; } while ( (unsigned __int64)v5 <= v6 ); v2 = *(_QWORD *)(a1 + 3304); } } return sub_10023E558(v2, *(_QWORD *)(a1 + 3312), 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source