// // CreateMenuItem::create from 0x6e7d10 to 0x6e7e72 (354 bytes) // // 3 xrefs: // > EditorUI::getCreateMenuItemButton @ 0x4817ce // > EditorUI::menuItemFromObjectString @ 0x6f612a // > EditorUI::getCreateBtn @ 0x6f829e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:57:25 +0000 // int __fastcall CreateMenuItem::create(int a1, int a2, int a3, int a4, int a5) { int v8; // r4 int v9; // r3 int v10; // r0 int varg_r3; // [sp+24h] [bp+1Ch] v8 = operator new(0x1A0u); cocos2d::CCNodeRGBA::CCNodeRGBA((cocos2d::CCNodeRGBA *)v8); *(_BYTE *)(v8 + 278) = 0; *(_BYTE *)(v8 + 279) = 0; *(_DWORD *)(v8 + 280) = 0; *(_DWORD *)(v8 + 284) = 0; *(_DWORD *)(v8 + 288) = 0; *(_DWORD *)(v8 + 292) = 0; *(_DWORD *)(v8 + 300) = 0; *(_DWORD *)(v8 + 304) = 0; *(_DWORD *)(v8 + 308) = 0; *(_BYTE *)(v8 + 320) = 0; *(_BYTE *)(v8 + 321) = 0; *(_DWORD *)(v8 + 328) = 0; *(_DWORD *)(v8 + 332) = 0; *(_DWORD *)(v8 + 336) = 0; *(_DWORD *)(v8 + 340) = 0; *(_DWORD *)(v8 + 344) = 0; *(_DWORD *)(v8 + 348) = 0; *(_DWORD *)v8 = &off_C84E18; *(_DWORD *)(v8 + 264) = &off_C85054; *(_DWORD *)(v8 + 296) = 0; *(_DWORD *)(v8 + 312) = 1065353216; *(_DWORD *)(v8 + 316) = 0; *(_DWORD *)(v8 + 324) = 1065353216; *(_DWORD *)(v8 + 352) = 1061734601; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v8 + 356)); *(_DWORD *)(v8 + 372) = 0; *(_DWORD *)(v8 + 364) = 1050253722; *(_DWORD *)(v8 + 368) = 1053609165; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v8 + 376)); *(_DWORD *)(v8 + 384) = 0; *(_BYTE *)(v8 + 388) = 0; *(_DWORD *)(v8 + 264) = &off_CEA97C; *(_DWORD *)v8 = &off_CEA740; *(_DWORD *)(v8 + 392) = 0; *(_DWORD *)(v8 + 396) = 0; *(_DWORD *)(v8 + 400) = 0; *(_DWORD *)(v8 + 408) = 0; *(_DWORD *)(v8 + 412) = 0; if ( CreateMenuItem::init(v8, a1, a2, a3, varg_r3, a5) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8); } else { v9 = *(_DWORD *)v8; v10 = v8; v8 = 0; (*(void (__fastcall **)(int))(v9 + 8))(v10); } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source