// // EditorUI::createUndoObject from 0x7c2470 to 0x7c25e8 (376 bytes) // // 10 xrefs: // > EditorUI::startFreeMoveTouch @ 0xbd5110 // > EditorUI::transformObjectCall @ 0xc017f4 // > EditorUI::transformObjectCall @ 0xc01890 // > EditorUI::angleChangeBegin @ 0xc01c28 // > EditorUI::scaleChangeBegin @ 0xc0212c // > EditorUI::moveObjectCall @ 0xc02610 // > EditorUI::alignObjectsOnAxis @ 0xc02c2c // > EditorUI::alignObjects @ 0xc031c0 // > EditorUI::transformChangeBegin @ 0xc034a0 // > @ 0xda998 // // 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:54:07 +0000 // __int64 __fastcall EditorUI::createUndoObject(__int64 a1, int a2, unsigned __int8 a3) { int v4; // w23 __int64 v5; // x20 int v6; // w0 __int64 TransformState; // x21 v4 = a3; if ( (unsigned int)cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 896)) ) { v5 = UndoObject::createWithTransformObjects(*(cocos2d::CCArray **)(a1 + 896), a2); if ( !(*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 352LL))(*(_QWORD *)(a1 + 792)) ) goto LABEL_3; } else { v5 = UndoObject::create(*(GameObjectCopy **)(a1 + 1496), a2); if ( !(*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 352LL))(*(_QWORD *)(a1 + 792)) ) goto LABEL_3; } TransformState = EditorUI::getTransformState((EditorUI *)a1); *(_DWORD *)(v5 + 84) = *(_DWORD *)TransformState; *(_DWORD *)(v5 + 88) = *(_DWORD *)(TransformState + 4); *(_DWORD *)(v5 + 92) = *(_DWORD *)(TransformState + 8); *(_DWORD *)(v5 + 96) = *(_DWORD *)(TransformState + 12); *(_DWORD *)(v5 + 100) = *(_DWORD *)(TransformState + 16); *(_DWORD *)(v5 + 104) = *(_DWORD *)(TransformState + 20); *(_DWORD *)(v5 + 108) = *(_DWORD *)(TransformState + 24); *(_BYTE *)(v5 + 112) = *(_BYTE *)(TransformState + 28); *(_DWORD *)(v5 + 116) = *(_DWORD *)(TransformState + 32); *(_DWORD *)(v5 + 120) = *(_DWORD *)(TransformState + 36); cocos2d::CCPoint::operator=(v5 + 124, TransformState + 40); cocos2d::CCPoint::operator=(v5 + 132, TransformState + 48); cocos2d::CCPoint::operator=(v5 + 140, TransformState + 56); *(_DWORD *)(v5 + 148) = *(_DWORD *)(TransformState + 64); *(_DWORD *)(v5 + 152) = *(_DWORD *)(TransformState + 68); *(_BYTE *)(v5 + 81) = 1; LABEL_3: if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 760) + 352LL))(*(_QWORD *)(a1 + 760)) ) { v6 = *(_DWORD *)(*(_QWORD *)(a1 + 760) + 436LL); *(_BYTE *)(v5 + 156) = 1; *(_DWORD *)(v5 + 160) = v6; } if ( !v4 ) LevelEditorLayer::addToUndoList(*(cocos2d::CCArray ***)(a1 + 1440), (UndoObject *)v5, 0); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source