// // GJBaseGameLayer::orderSpawnObjects from 0x140350080 to 0x14035012c (172 bytes) // // 5 xrefs: // > LevelEditorLayer::onPlaytest @ 0x1403fed7c // > PlayLayer::createObjectsFromSetupFinished @ 0x14050c53e // > @ 0x1408b87c4 // > @ 0x1408b87f8 // > @ 0x1409201ec // // This function is hookable on this platform (idp: pc, 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:30:46 +0000 // __int64 __fastcall GJBaseGameLayer::orderSpawnObjects(__int64 a1) { __int64 v2; // rdi unsigned int *v3; // rdi __int64 v4; // rax _QWORD *v5; // rdi _QWORD *i; // rbp __int64 v7; // rbx __int64 v8; // rax char v10; // [rsp+30h] [rbp+8h] BYREF cocos2d::CCDictionary::removeAllObjects(*(cocos2d::CCDictionary **)(a1 + 3568)); v2 = *(_QWORD *)(a1 + 3560); if ( v2 ) { v3 = *(unsigned int **)(v2 + 56); v4 = *v3; if ( (_DWORD)v4 ) { v5 = *((_QWORD **)v3 + 2); for ( i = &v5[v4 - 1]; v5 <= i; ++v5 ) { v7 = *v5; if ( !*v5 ) break; v8 = (*(__int64 (__fastcall **)(_QWORD, char *))(*(_QWORD *)v7 + 1664LL))(*v5, &v10); cocos2d::CCPoint::operator=(v7 + 1800, v8); } } } return LevelTools::sortChannelOrderObjects(*(_QWORD *)(a1 + 3560), *(_QWORD *)(a1 + 3568), 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source