// // GJBaseGameLayer::moveObjectToStaticGroup from 0x9a723c to 0x9a7328 (236 bytes) // // 3 xrefs: // > GJBaseGameLayer::optimizeMoveGroups @ 0x9c5270 // > GJBaseGameLayer::optimizeMoveGroups @ 0x9c52e4 // > @ 0xa5d18 // // This function is hookable on this platform (idp: arm, 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:58:10 +0000 // GJBaseGameLayer *__fastcall GJBaseGameLayer::moveObjectToStaticGroup(GJBaseGameLayer *this, GameObject *a2) { int v2; // w2 GJBaseGameLayer *v3; // x25 signed int v5; // w21 int GroupID; // w0 int v7; // w22 int v8; // w24 unsigned int v9; // w19 unsigned int v10; // w1 int v11; // w0 cocos2d::CCObject *StaticGroup; // x0 if ( *((_BYTE *)a2 + 1290) ) { v2 = *((__int16 *)a2 + 584); *((_BYTE *)a2 + 1290) = 0; if ( v2 > 0 ) { v3 = this; v5 = 0; do { while ( 1 ) { GroupID = GameObject::getGroupID(a2, v5); if ( GroupID > 9999 ) v7 = 9999; else v7 = GroupID; v8 = GroupID; if ( v7 < 0 ) v7 = 0; if ( v5 ) break; LABEL_19: ++v5; StaticGroup = GJBaseGameLayer::getStaticGroup(v3, v8); cocos2d::CCArray::addObject(StaticGroup, a2); this = (GJBaseGameLayer *)(unsigned int)*((__int16 *)a2 + 584); if ( v5 >= (int)this ) return this; } v9 = 0; while ( 1 ) { v10 = v9++; v11 = GameObject::getGroupID(a2, v10); if ( v11 > 9999 ) v11 = 9999; if ( v11 < 0 ) v11 = 0; if ( v11 == v7 ) break; if ( v9 == v5 ) goto LABEL_19; } this = (GJBaseGameLayer *)(unsigned int)*((__int16 *)a2 + 584); ++v5; } while ( v5 < (int)this ); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source