// // PlayLayer::addToGroupOld from 0x1000b6d20 to 0x1000b6dec (204 bytes) // // 0 xrefs: // // 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 PlayLayer::addToGroupOld(PlayLayer *a1, GameObject *a2) { int v2; // r15d int GroupID; // r12d cocos2d::CCArray *Group; // r13 cocos2d::CCArray *OptimizedGroup; // rax cocos2d::CCArray *v6; // r12 if ( a2->m_groupCount > 0 ) { v2 = 0; do { GroupID = GameObject::getGroupID(a2, v2); Group = GJBaseGameLayer::getGroup(a1, GroupID); if ( !(unsigned __int8)sub_100720160(Group, a2) ) sub_10071FCD0(Group, a2); if ( a2->m_objectType == Decoration ) OptimizedGroup = GJBaseGameLayer::getOptimizedGroup(a1, GroupID); else OptimizedGroup = GJBaseGameLayer::getStaticGroup(a1, GroupID); v6 = OptimizedGroup; if ( !(unsigned __int8)sub_100720160(OptimizedGroup, a2) ) sub_10071FCD0(v6, a2); ++v2; } while ( v2 < a2->m_groupCount ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source