// // CreateMenuItem::dCreateMenuItem from 0x14019f0f0 to 0x14019f164 (116 bytes) // // 2 xrefs: // > @ 0x14074fd40 // > @ 0x14091985c // // 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:27:48 +0000 // cocos2d::CCMenuItemSprite *__fastcall CreateMenuItem::dCreateMenuItem(cocos2d::CCMenuItemSprite *Block, char a2) { sub_14003D310((__int64)Block + 520); *(_QWORD *)Block = &CCMenuItemSpriteExtra::`vftable'; *((_QWORD *)Block + 40) = &CCMenuItemSpriteExtra::`vftable'; sub_14003D310((__int64)Block + 448); sub_14003D310((__int64)Block + 416); cocos2d::CCMenuItemSprite::~CCMenuItemSprite(Block); if ( (a2 & 1) != 0 ) j_j_free(Block); return Block; }