// // GJBaseGameLayer::getOptimizedGroup from 0x10028dfb4 to 0x10028e018 (100 bytes) // // 5 xrefs: // > GJBaseGameLayer::addToGroup @ 0x10028df94 // > GJBaseGameLayer::removeFromGroup @ 0x10028e12c // > GJBaseGameLayer::processTransformActions @ 0x100293918 // > GJBaseGameLayer::processRotationActions @ 0x1002942a8 // > GJBaseGameLayer::processMoveActions @ 0x1002947e4 // // 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 11:02:01 +0000 // __int64 __fastcall GJBaseGameLayer::getOptimizedGroup(__int64 a1, int a2) { int v2; // w8 __int64 v3; // x20 __int64 v4; // x21 if ( a2 >= 9999 ) v2 = 9999; else v2 = a2; v3 = v2 & (unsigned int)~(v2 >> 31); v4 = *(_QWORD *)(*(_QWORD *)(a1 + 3664) + 8LL * (unsigned int)v3); if ( !v4 ) { v4 = sub_1002E736C(a1); cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 3608), v4, v3); *(_QWORD *)(*(_QWORD *)(a1 + 3664) + 8 * v3) = v4; } return v4; }