; ; GJBaseGameLayer::removeGroupParent from 0x140224790 to 0x14022485d (205 bytes) ; ; 8 xrefs: ; > GJBaseGameLayer::removeFromGroup @ 0x14022425e ; > GJBaseGameLayer::setGroupParent @ 0x1402246df ; > LevelEditorLayer::removeFromGroup @ 0x1402dec6e ; > SetGroupIDLayer::callRemoveFromGroup @ 0x1403fc86a ; > @ 0x140680088 ; > @ 0x1406800bc ; > @ 0x1406cd71c ; > @ 0x1406cd728 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_10], rbp ; +0x0, 0x140224790 push rsi ; +0x5, 0x140224795 push r14 ; +0x6, 0x140224796 push r15 ; +0x8, 0x140224798 sub rsp, 20h ; +0xa, 0x14022479a movsxd rsi, edx ; +0xe, 0x14022479e mov r14, rcx ; +0x11, 0x1402247a1 mov rcx, [rcx+0F60h] ; +0x14, 0x1402247a4 mov rdx, rsi ; +0x1b, 0x1402247ab call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x1e, 0x1402247ae mov rbp, rax ; +0x24, 0x1402247b4 test rax, rax ; +0x27, 0x1402247b7 jz loc_14022484E ; +0x2a, 0x1402247ba mov edx, [rax+39Ch] ; +0x30, 0x1402247c0 mov rcx, [r14+0F68h] ; +0x36, 0x1402247c6 mov [rsp+38h+arg_8], rdi ; +0x3d, 0x1402247cd call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x42, 0x1402247d2 mov rdi, rax ; +0x48, 0x1402247d8 test rax, rax ; +0x4b, 0x1402247db jz short loc_140224832 ; +0x4e, 0x1402247de mov [rsp+38h+arg_0], rbx ; +0x50, 0x1402247e0 mov rcx, rax ; +0x55, 0x1402247e5 xor ebx, ebx ; +0x58, 0x1402247e8 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x5a, 0x1402247ea test eax, eax ; +0x60, 0x1402247f0 jz short loc_140224820 ; +0x62, 0x1402247f2 mov edx, ebx ; +0x64, 0x1402247f4 mov rcx, rdi ; +0x66, 0x1402247f6 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x69, 0x1402247f9 mov rcx, rdi ; +0x6f, 0x1402247ff cmp [rax+38h], esi ; +0x72, 0x140224802 jz short loc_140224815 ; +0x75, 0x140224805 inc ebx ; +0x77, 0x140224807 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x79, 0x140224809 cmp ebx, eax ; +0x7f, 0x14022480f jb short loc_1402247F4 ; +0x81, 0x140224811 jmp short loc_140224820 ; +0x83, 0x140224813 mov r8b, 1 ; +0x85, 0x140224815 mov edx, ebx ; +0x88, 0x140224818 call cs:?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x8a, 0x14022481a mov rcx, rdi ; +0x90, 0x140224820 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x93, 0x140224823 mov rbx, [rsp+38h+arg_0] ; +0x99, 0x140224829 test eax, eax ; +0x9e, 0x14022482e jnz short loc_140224839 ; +0xa0, 0x140224830 mov byte ptr [rbp+49Ah], 0 ; +0xa2, 0x140224832 mov rcx, [r14+0F60h] ; +0xa9, 0x140224839 mov rdx, rsi ; +0xb0, 0x140224840 call cs:?removeObjectForKey@CCDictionary@cocos2d@@QEAAX_J@Z; cocos2d::CCDictionary::removeObjectForKey(__int64) ; +0xb3, 0x140224843 mov rdi, [rsp+38h+arg_8] ; +0xb9, 0x140224849 mov rbp, [rsp+38h+arg_10] ; +0xbe, 0x14022484e add rsp, 20h ; +0xc3, 0x140224853 pop r15 ; +0xc7, 0x140224857 pop r14 ; +0xc9, 0x140224859 pop rsi ; +0xcb, 0x14022485b retn ; +0xcc, 0x14022485c