// // UndoObject::create from 0x78f8b8 to 0x78f9ec (308 bytes) // // 7 xrefs: // > LevelEditorLayer::removeObject @ 0x7908ac // > LevelEditorLayer::createObjectsFromString @ 0x7a1134 // > LevelEditorLayer::createObject @ 0x7a1590 // > LevelEditorLayer::handleAction @ 0x7a2338 // > EditorUI::createUndoObject @ 0x7c2528 // > EditorUI::moveObjectCall @ 0xc02538 // > @ 0xecc50 // // 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:53:28 +0000 // __int64 __fastcall UndoObject::create(GameObjectCopy *a1, int a2) { __int64 v4; // x19 v4 = operator new(0xA8u); cocos2d::CCObject::CCObject((cocos2d::CCObject *)v4); *(_QWORD *)(v4 + 56) = 0; *(_DWORD *)(v4 + 64) = 0; *(_QWORD *)(v4 + 72) = 0; *(_QWORD *)v4 = &off_1436150; *(_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; *(_BYTE *)(v4 + 156) = 0; *(_DWORD *)(v4 + 160) = 0; if ( (unsigned __int8)UndoObject::init(v4, a1, a2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); return v4; } else { (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source