// // GJBaseGameLayer::moveObjectToStaticGroup from 0x100128970 to 0x100128ab6 (326 bytes) // // 1 xrefs: // > GJBaseGameLayer::optimizeMoveGroups @ 0x1000f434f // // 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:43 +0000 // __int64 __fastcall GJBaseGameLayer::moveObjectToStaticGroup(_QWORD *a1, __int64 a2) { _QWORD *v2; // r14 int v3; // r15d __int64 result; // rax __int64 v5; // rdi int GroupID; // eax __int64 v7; // r13 __int64 v8; // r12 __int64 v9; // r14 if ( *(_BYTE *)(a2 + 1290) == 1 ) { *(_BYTE *)(a2 + 1290) = 0; if ( *(__int16 *)(a2 + 1168) > 0 ) { v2 = a1; v3 = 0; do { v5 = a2; GroupID = GameObject::getGroupID(a2, (unsigned int)v3); v7 = (unsigned int)GroupID; if ( GroupID >= 9999 ) v7 = 9999; if ( (int)v7 <= 0 ) v7 = 0; v8 = *(_QWORD *)(v2[455] + 8 * v7); if ( v8 ) { v9 = *(_QWORD *)(v2[458] + 8 * v7); if ( !v9 ) goto LABEL_14; } else { v8 = sub_1007FE900(a2); v5 = v2[450]; cocos2d::CCDictionary::setObject_1(v5, v8, v7); *(_QWORD *)(v2[455] + 8 * v7) = v8; v9 = *(_QWORD *)(v2[458] + 8 * v7); if ( !v9 ) { LABEL_14: v9 = sub_1007FE900(v5); cocos2d::CCDictionary::setObject_1(a1[451], v9, v7); *(_QWORD *)(a1[458] + 8 * v7) = v9; } } if ( !(unsigned __int8)sub_1007FF080(v8, a2) ) sub_1007FEBF0(v8, a2); sub_1007FF140(v9, a2, 1); ++v3; result = (unsigned int)*(__int16 *)(a2 + 1168); v2 = a1; } while ( v3 < (int)result ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source