// // UndoObject::create from 0x664968 to 0x664a94 (300 bytes) // // 7 xrefs: // > LevelEditorLayer::removeObject @ 0x665910 // > LevelEditorLayer::createObjectsFromString @ 0x671b54 // > LevelEditorLayer::createObject @ 0x671fa4 // > LevelEditorLayer::handleAction @ 0x6728cc // > EditorUI::createUndoObject @ 0x6b5bb4 // > EditorUI::moveObjectCall @ 0x6b93c8 // > @ 0xb5470 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // UndoObject *UndoObject::create(GameObject *a1, UndoCommand a2) { __int64 v4; // x19 v4 = operator new(0xA0u); cocos2d::CCObject::CCObject((cocos2d::CCObject *)v4); *(_QWORD *)(v4 + 56) = 0; *(_DWORD *)(v4 + 64) = 0; *(_QWORD *)(v4 + 72) = 0; *(_QWORD *)v4 = &off_1155500; *(_BYTE *)(v4 + 80) = 0; *(_BYTE *)(v4 + 81) = 0; *(_BYTE *)(v4 + 112) = 0; *(_DWORD *)(v4 + 108) = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v4 + 124)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v4 + 132)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v4 + 140)); *(float *)(v4 + 84) = 1.0; *(float *)(v4 + 88) = 1.0; *(_DWORD *)(v4 + 92) = 0; *(_DWORD *)(v4 + 96) = 0; *(_DWORD *)(v4 + 100) = 0; *(_DWORD *)(v4 + 104) = 0; *(_DWORD *)(v4 + 116) = 0; *(_DWORD *)(v4 + 120) = 0; *(_DWORD *)(v4 + 124) = 0; *(_DWORD *)(v4 + 128) = 0; *(float *)(v4 + 148) = 1.0; *(float *)(v4 + 152) = 1.0; if ( UndoObject::init((UndoObject *)v4, a1, a2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); return (UndoObject *)v4; } else { (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source