// // GJBaseGameLayer::refreshKeyframeAnims from 0x10027c5dc to 0x10027c7a0 (452 bytes) // // 2 xrefs: // > GJBaseGameLayer::updateSpecialGroupData @ 0x10027a250 // > LevelEditorLayer::init @ 0x1003f72f4 // // 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:01:53 +0000 // __int64 __fastcall GJBaseGameLayer::refreshKeyframeAnims(__int64 a1) { __int64 v2; // x0 __int64 v3; // x20 __int64 v4; // x8 unsigned int *v5; // x9 __int64 v6; // x8 __int64 *v7; // x23 unsigned __int64 v8; // x24 __int64 v9; // x21 __int64 v10; // x0 __int64 v11; // x22 __int64 v12; // x21 __int64 result; // x0 __int64 v14; // x22 __int64 v15; // x0 __int64 v16; // x0 __int64 v17; // x24 __int64 v18; // x25 __int64 v19; // x0 v2 = cocos2d::CCDictionary::removeAllObjects(*(_QWORD *)(a1 + 13272)); *(_DWORD *)(a1 + 13280) = 0; v3 = cocos2d::CCDictionary::create(v2); v4 = *(_QWORD *)(a1 + 3280); if ( v4 ) { v5 = *(unsigned int **)(v4 + 56); v6 = *v5; if ( (_DWORD)v6 ) { v7 = *((__int64 **)v5 + 2); v8 = (unsigned __int64)&v7[v6 - 1]; do { v9 = *v7; if ( !*v7 ) break; if ( *(_DWORD *)(v9 + 1028) == 3032 ) { cocos2d::CCDictionary::objectForKey_1(v3, *(int *)(v9 + 1856)); v11 = v10; if ( !v10 ) { v11 = sub_1002E736C(0); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v11 + 72LL))(v11, *(unsigned int *)(v9 + 1856)); cocos2d::CCDictionary::setObject_1(v3, v11, *(int *)(v9 + 1856)); } sub_1002E74E0(v11, v9); } ++v7; } while ( (unsigned __int64)v7 <= v8 ); } } v12 = cocos2d::CCDictionary::allKeys(v3); qsort( *(void **)(*(_QWORD *)(v12 + 56) + 16LL), **(unsigned int **)(v12 + 56), 8u, (int (__cdecl *)(const void *, const void *))sub_100273FB8); result = sub_1002E757C(v12); if ( (_DWORD)result ) { v14 = 0; do { v15 = sub_1002E75A0(v12, v14); cocos2d::CCDictionary::objectForKey_1(v3, *(int *)(v15 + 56)); v17 = v16; qsort( *(void **)(*(_QWORD *)(v16 + 56) + 16LL), **(unsigned int **)(v16 + 56), 8u, (int (__cdecl *)(const void *, const void *))sub_100273FA0); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v17 + 72LL))(v17, *(unsigned int *)(a1 + 13280)); cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 13272), v17, *(int *)(a1 + 13280)); if ( (unsigned int)sub_1002E757C(v17) ) { v18 = 0; do { v19 = sub_1002E75A0(v17, v18); *(_DWORD *)(v19 + 1856) = *(_DWORD *)(a1 + 13280); *(_DWORD *)(v19 + 1860) = v18; v18 = (unsigned int)(v18 + 1); } while ( (unsigned int)v18 < (unsigned int)sub_1002E757C(v17) ); } ++*(_DWORD *)(a1 + 13280); v14 = (unsigned int)(v14 + 1); result = sub_1002E757C(v12); } while ( (unsigned int)v14 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source