// // GJBaseGameLayer::removeFromGroup from 0x10011a6a0 to 0x10011a7f2 (338 bytes) // // 3 xrefs: // > LevelEditorLayer::removeFromGroup @ 0x1000c4494 // > @ 0x100abb048 // > @ 0x100ac5110 // // 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 12:24:35 +0000 // __int64 __fastcall GJBaseGameLayer::removeFromGroup(_QWORD *a1, __int64 a2, int a3) { int v4; // eax __int64 v5; // r12 __int64 v7; // rdi __int64 v8; // r13 __int64 v9; // rdi __int64 v10; // rax __int64 v11; // r13 __int64 result; // rax _QWORD *v13; // [rsp+8h] [rbp-38h] __int64 v14; // [rsp+10h] [rbp-30h] v4 = 9999; if ( a3 < 9999 ) v4 = a3; v5 = 0; if ( v4 > 0 ) v5 = (unsigned int)v4; v7 = *(_QWORD *)(a1[452] + 8 * v5); if ( !v7 ) { v8 = sub_1007FE900(0); cocos2d::CCDictionary::setObject_1(a1[449], v8, v5); v7 = v8; *(_QWORD *)(a1[452] + 8 * v5) = v8; } sub_1007FF140(v7, a2, 1); if ( *(_BYTE *)(a2 + 1290) == 1 ) { v9 = *(_QWORD *)(a1[458] + 8 * v5); if ( !v9 ) { v13 = a1 + 458; v10 = 3608; LABEL_12: v14 = v10; v11 = sub_1007FE900(0); cocos2d::CCDictionary::setObject_1(*(_QWORD *)((char *)a1 + v14), v11, v5); v9 = v11; *(_QWORD *)(*v13 + 8 * v5) = v11; } } else { v9 = *(_QWORD *)(a1[455] + 8 * v5); if ( !v9 ) { v13 = a1 + 455; v10 = 3600; goto LABEL_12; } } result = sub_1007FF140(v9, a2, 1); if ( *(_BYTE *)(a2 + 1170) == 1 ) { result = cocos2d::CCDictionary::objectForKey_1(a1[461]); if ( result ) { result = sub_1007FF080(result, a2); if ( (_BYTE)result ) return sub_10011A840(a1, a2, (unsigned int)a3); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source