// // KeyframeGameObject::updateShadowObjects from 0x888cb8 to 0x888f70 (696 bytes) // // 3 xrefs: // > LevelEditorLayer::updateKeyframeObjects @ 0x78e1fc // > EditorUI::createNewKeyframeAnim @ 0x7c3e2c // > @ 0xa8358 // // 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:56:00 +0000 // __int64 __fastcall KeyframeGameObject::updateShadowObjects(KeyframeGameObject *this, GJBaseGameLayer *a2, EditorUI *a3) { __int64 v6; // x0 int v8; // w1 cocos2d::CCArray *Group; // x23 __int64 GroupParent; // x21 __int64 v11; // x1 __int64 v12; // x1 int v13; // w2 __int64 v14; // x0 int v15; // w3 __int64 v16; // x0 const cocos2d::CCPoint *v17; // x0 long double v18; // q0 long double v19; // q0 __int64 v20; // x1 void (__fastcall *v21)(KeyframeGameObject *, _QWORD); // x21 unsigned int v22; // w0 __int64 v23; // [xsp+50h] [xbp+50h] BYREF _BYTE v24[8]; // [xsp+58h] [xbp+58h] BYREF __int64 v25; // [xsp+60h] [xbp+60h] BYREF __int64 v26; // [xsp+68h] [xbp+68h] BYREF size_t v27; // [xsp+70h] [xbp+70h] void *v28; // [xsp+78h] [xbp+78h] __int64 v29; // [xsp+80h] [xbp+80h] BYREF size_t v30; // [xsp+88h] [xbp+88h] void *v31; // [xsp+90h] [xbp+90h] v6 = *((_QWORD *)this + 231); if ( v6 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 536LL))(v6); *((_QWORD *)this + 231) = 0; } cocos2d::CCArray::removeAllObjects(*((cocos2d::CCArray **)this + 230)); if ( *((_BYTE *)this + 1880) ) { v8 = *((_DWORD *)this + 366); *((_BYTE *)this + 559) = 1; Group = (cocos2d::CCArray *)GJBaseGameLayer::getGroup(a2, v8); GroupParent = GJBaseGameLayer::getGroupParent(a2, *((_DWORD *)this + 366)); if ( (unsigned int)cocos2d::CCArray::count(Group) && GroupParent ) { EditorUI::copyObjects(&v26, a3, Group, 0, 0); v29 = 0; v30 = 0; v31 = nullptr; if ( (v26 & 1) != 0 ) { std::string::__init(&v29, v28, v27); } else { v31 = v28; v29 = v26; v30 = v27; } v11 = EditorUI::spriteFromObjectString(a3, &v29, 0, 1, 0, *((_QWORD *)this + 230), Group, GroupParent); *((_QWORD *)this + 231) = v11; if ( (v29 & 1) != 0 ) { operator delete(v31); v11 = *((_QWORD *)this + 231); } (*(void (__fastcall **)(KeyframeGameObject *, __int64))(*(_QWORD *)this + 456LL))(this, v11); (*(void (__fastcall **)(KeyframeGameObject *, void *))(*(_QWORD *)this + 320LL))(this, &unk_155CA80); v12 = *((_QWORD *)this + 231); *((_BYTE *)this + 1212) = 1; v13 = *(_DWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v12 + 328LL))(v12); v14 = *((_QWORD *)this + 231); *((_DWORD *)this + 191) = v13; v15 = *(_DWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v14 + 328LL))(v14) + 4); v16 = *((_QWORD *)this + 231); *((_DWORD *)this + 192) = v15; (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v16 + 184LL))(v16, &unk_155CA78); EditorUI::getGroupCenter(&v23, a3, Group, 1); v17 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)GroupParent + 192LL))(GroupParent); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, v17); cocos2d::CCPoint::operator-(&v25, &v23, v24, v18); *(__n128 *)&v19 = cocos2d::CCPoint::operator=((char *)this + 712, &v25); v20 = *(_QWORD *)this; *((_BYTE *)this + 864) = 1; v21 = *(void (__fastcall **)(KeyframeGameObject *, _QWORD))(v20 + 912); v22 = (*(__int64 (__fastcall **)(KeyframeGameObject *, long double))(v20 + 896))(this, v19); v21(this, v22); if ( (v26 & 1) != 0 ) operator delete(v28); } } else { *((_BYTE *)this + 559) = 0; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source