// // GameObjectCopy::create from 0x140409e20 to 0x140409f1a (250 bytes) // // 9 xrefs: // > EditorUI::onDeleteSelected @ 0x1401b0d2d // > EditorUI::createUndoObject @ 0x1401b387e // > EditorUI::createUndoObject @ 0x1401b38f0 // > EditorUI::moveObjectCall_1 @ 0x1401fecf0 // > LevelEditorLayer::createObject @ 0x1403f0af0 // > LevelEditorLayer::removeObject @ 0x1403f2236 // > LevelEditorLayer::handleAction @ 0x1403f2863 // > LevelEditorLayer::handleAction @ 0x1403f298b // > @ 0x140925ca0 // // 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:31:59 +0000 // // Hidden C++ exception states: #wind=2 _OWORD *__fastcall GameObjectCopy::create(cocos2d::CCObject *a1) { __int64 v2; // rax __int64 v3; // rcx _OWORD *v5; // [rsp+38h] [rbp+10h] v5 = operator new(0x60u); *v5 = 0; v5[1] = 0; v5[2] = 0; v5[3] = 0; v5[4] = 0; v5[5] = 0; cocos2d::CCObject::CCObject((cocos2d::CCObject *)v5); *(_QWORD *)v5 = &GameObjectCopy::`vftable'; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v5 + 4)); *((_QWORD *)v5 + 7) = a1; cocos2d::CCObject::retain(a1); v2 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)v5 + 7) + 200LL))(*((_QWORD *)v5 + 7)); cocos2d::CCPoint::operator=(v5 + 4, v2); *((float *)v5 + 18) = (*(float (__fastcall **)(_QWORD))(**((_QWORD **)v5 + 7) + 376LL))(*((_QWORD *)v5 + 7)); *((float *)v5 + 19) = (*(float (__fastcall **)(_QWORD))(**((_QWORD **)v5 + 7) + 392LL))(*((_QWORD *)v5 + 7)); *((_BYTE *)v5 + 80) = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)v5 + 7) + 1272LL))(*((_QWORD *)v5 + 7)); *((_BYTE *)v5 + 81) = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)v5 + 7) + 1280LL))(*((_QWORD *)v5 + 7)); v3 = *((_QWORD *)v5 + 7); *((_DWORD *)v5 + 21) = *(_DWORD *)(v3 + 1160); *((_DWORD *)v5 + 22) = *(_DWORD *)(v3 + 1164); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source