; ; 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 ; mov [rsp+arg_18], rsi ; +0x0, 0x140350080 push rdi ; +0x5, 0x140350085 sub rsp, 20h ; +0x6, 0x140350086 mov rsi, rcx ; +0xa, 0x14035008a mov rcx, [rcx+0DF0h] ; +0xd, 0x14035008d call cs:?removeAllObjects@CCDictionary@cocos2d@@QEAAXXZ; cocos2d::CCDictionary::removeAllObjects(void) ; +0x14, 0x140350094 mov rdi, [rsi+0DE8h] ; +0x1a, 0x14035009a test rdi, rdi ; +0x21, 0x1403500a1 jz short loc_14035010C ; +0x24, 0x1403500a4 mov rdi, [rdi+38h] ; +0x26, 0x1403500a6 mov eax, [rdi] ; +0x2a, 0x1403500aa test eax, eax ; +0x2c, 0x1403500ac jz short loc_14035010C ; +0x2e, 0x1403500ae mov rdi, [rdi+10h] ; +0x30, 0x1403500b0 mov [rsp+28h+arg_10], rbp ; +0x34, 0x1403500b4 lea rbp, [rax-1] ; +0x39, 0x1403500b9 lea rbp, [rdi+rbp*8] ; +0x3d, 0x1403500bd cmp rdi, rbp ; +0x41, 0x1403500c1 ja short loc_140350107 ; +0x44, 0x1403500c4 mov [rsp+28h+arg_8], rbx ; +0x46, 0x1403500c6 nop dword ptr [rax+rax+00h] ; +0x4b, 0x1403500cb mov rbx, [rdi] ; +0x50, 0x1403500d0 test rbx, rbx ; +0x53, 0x1403500d3 jz short loc_140350102 ; +0x56, 0x1403500d6 mov rax, [rbx] ; +0x58, 0x1403500d8 lea rdx, [rsp+28h+arg_0] ; +0x5b, 0x1403500db mov rcx, rbx ; +0x60, 0x1403500e0 call qword ptr [rax+680h] ; +0x63, 0x1403500e3 mov rdx, rax ; +0x69, 0x1403500e9 lea rcx, [rbx+708h] ; +0x6c, 0x1403500ec call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x73, 0x1403500f3 add rdi, 8 ; +0x79, 0x1403500f9 cmp rdi, rbp ; +0x7d, 0x1403500fd jbe short loc_1403500D0 ; +0x80, 0x140350100 mov rbx, [rsp+28h+arg_8] ; +0x82, 0x140350102 mov rbp, [rsp+28h+arg_10] ; +0x87, 0x140350107 mov rdx, [rsi+0DF0h] ; +0x8c, 0x14035010c xor r8d, r8d ; +0x93, 0x140350113 mov rcx, [rsi+0DE8h] ; +0x96, 0x140350116 mov rsi, [rsp+28h+arg_18] ; +0x9d, 0x14035011d add rsp, 20h ; +0xa2, 0x140350122 pop rdi ; +0xa6, 0x140350126 jmp LevelTools__sortChannelOrderObjects ; +0xa7, 0x140350127