// // GJBaseGameLayer::moveObjectToStaticGroup from 0x1001fa7e0 to 0x1001fa89c (188 bytes) // // 2 xrefs: // > GJBaseGameLayer::optimizeMoveGroups @ 0x1001e010c // > GJBaseGameLayer::optimizeMoveGroups @ 0x1001e0194 // // 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 // void __fastcall GJBaseGameLayer::moveObjectToStaticGroup(GJBaseGameLayer *a1, GameObject *a2) { int v4; // w21 int GroupID; // w22 cocos2d::CCArray *StaticGroup; // x23 cocos2d::CCArray *OptimizedGroup; // x22 if ( a2->m_isDecoration2 ) { a2->m_isDecoration2 = 0; if ( a2->m_groupCount >= 1 ) { v4 = 0; do { GroupID = GameObject::getGroupID(a2, v4); StaticGroup = GJBaseGameLayer::getStaticGroup(a1, GroupID); OptimizedGroup = GJBaseGameLayer::getOptimizedGroup(a1, GroupID); if ( (sub_10024A420(StaticGroup) & 1) == 0 ) sub_10024A2D0(StaticGroup, a2); sub_10024A444(OptimizedGroup, a2, 1); ++v4; } while ( v4 < a2->m_groupCount ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source