// // CreateMenuItem::create from 0x100603cd0 to 0x100603d81 (177 bytes) // // 3 xrefs: // > EditorUI::getCreateMenuItemButton @ 0x10000dad1 // > EditorUI::getCreateBtn @ 0x100638264 // > EditorUI::menuItemFromObjectString @ 0x100639050 // // 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 12:34:31 +0000 // char *__fastcall CreateMenuItem::create(__int64 a1, int a2, int a3, __int64 a4, __int64 a5) { char *v7; // rbx v7 = (char *)operator new(0x220u); CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v7); *(_QWORD *)v7 = off_100B7F7B0; *((_QWORD *)v7 + 40) = off_100B7FC28; *(_OWORD *)(v7 + 504) = 0; *((_QWORD *)v7 + 65) = 0; *(_QWORD *)(v7 + 532) = 0; if ( (unsigned __int8)CCMenuItemSpriteExtra::init((__int64)v7, a1, a2, a3, a4, a5) ) { cocos2d::CCObject::autorelease((__int64)v7); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v7 + 16LL))(v7); return nullptr; } return v7; }