// // KeyframeGameObject::updateShadowObjects from 0x140656870 to 0x140656ac0 (592 bytes) // // 3 xrefs: // > EditorUI::createNewKeyframeAnim @ 0x1401b9281 // > LevelEditorLayer::updateKeyframeObjects @ 0x14040144c // > @ 0x14093179c // // This function is hookable on this platform (idp: pc, 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:35:45 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall KeyframeGameObject::updateShadowObjects(__int64 a1, __int64 a2, __int64 a3) { __int64 v6; // rcx struct cocos2d::CCObject *Group; // rsi cocos2d::CCArray *v8; // rax cocos2d::CCArray *v9; // rbx struct cocos2d::CCObject *v10; // rbx __int64 v11; // rax __int64 v12; // rax __int64 v13; // rcx const struct cocos2d::CCPoint *v14; // rax __int64 v15; // rbx unsigned __int8 v16; // al _BYTE v17[8]; // [rsp+40h] [rbp-78h] BYREF _BYTE v18[8]; // [rsp+48h] [rbp-70h] BYREF _BYTE v19[8]; // [rsp+50h] [rbp-68h] BYREF _BYTE v20[32]; // [rsp+58h] [rbp-60h] BYREF _QWORD v21[4]; // [rsp+78h] [rbp-40h] BYREF v6 = *(_QWORD *)(a1 + 1864); if ( v6 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 528LL))(v6); *(_QWORD *)(a1 + 1864) = 0; } cocos2d::CCArray::removeAllObjects(*(cocos2d::CCArray **)(a1 + 1856)); if ( *(_BYTE *)(a1 + 1896) ) { *(_BYTE *)(a1 + 559) = 1; Group = GJBaseGameLayer::getGroup(a2, *(unsigned int *)(a1 + 1480)); v8 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a2 + 3968), *(int *)(a1 + 1480)); v9 = v8; if ( v8 && cocos2d::CCArray::count(v8) ) v10 = cocos2d::CCArray::objectAtIndex(v9, 0); else v10 = nullptr; if ( cocos2d::CCArray::count(Group) ) { if ( v10 ) { EditorUI::copyObjects(a3, v21, (__int64)Group, 0, 0); v11 = sub_14003F4F0((__int64)v20, (__int64)v21); v12 = EditorUI::spriteFromObjectString(a3, v11, 0, 1, 0, *(cocos2d::CCArray **)(a1 + 1856), Group, (__int64)v10); *(_QWORD *)(a1 + 1864) = v12; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v12); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)a1 + 312LL))(a1, &unk_14090BDF0); *(_BYTE *)(a1 + 1220) = 1; *(_DWORD *)(a1 + 764) = *(_DWORD *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1864) + 320LL))(*(_QWORD *)(a1 + 1864)); *(_DWORD *)(a1 + 768) = *(_DWORD *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1864) + 320LL))(*(_QWORD *)(a1 + 1864)) + 4); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1864) + 184LL))( *(_QWORD *)(a1 + 1864), &unk_14090BDD8); EditorUI::getGroupCenter(v13, (cocos2d::CCPoint *)v19, Group, 1); v14 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v10 + 200LL))(v10); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, v14); cocos2d::CCPoint::operator-(v19, v17, v18); cocos2d::CCPoint::operator=(a1 + 716, v17); *(_BYTE *)(a1 + 872) = 1; v15 = *(_QWORD *)(a1 + 320); v16 = (*(__int64 (__fastcall **)(__int64))(v15 + 32))(a1 + 320); (*(void (__fastcall **)(__int64, _QWORD))(v15 + 40))(a1 + 320, v16); sub_14003D310((__int64)v21); } } } else { *(_BYTE *)(a1 + 559) = 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source