// // DpadMenu::create from 0x6f544c to 0x6f5540 (244 bytes) // // 1 xrefs: // > EditorUI::createDpadMoveMenu @ 0x6f7058 // // 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:38 +0000 // int __fastcall DpadMenu::create(int a1, int a2, int a3) { int v6; // r4 v6 = operator new(0x188u); memset((void *)v6, 0, 0x188u); cocos2d::CCLayerRGBA::CCLayerRGBA((cocos2d::CCLayerRGBA *)v6); *(_DWORD *)(v6 + 340) = 0; *(_DWORD *)(v6 + 344) = 0; *(_DWORD *)(v6 + 336) = 0; *(_BYTE *)(v6 + 348) = 0; *(_DWORD *)v6 = &off_CEB250; *(_DWORD *)(v6 + 264) = &off_CEB4D8; *(_DWORD *)(v6 + 268) = &off_CEB510; *(_DWORD *)(v6 + 272) = &off_CEB51C; *(_DWORD *)(v6 + 276) = &off_CEB52C; *(_DWORD *)(v6 + 280) = &off_CEB540; *(_DWORD *)(v6 + 316) = &off_CEB558; memset((void *)(v6 + 352), 0, 0x10u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 368)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v6 + 376)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v6 + 384)); if ( (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 40))(v6) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6); cocos2d::CCPoint::operator=(v6 + 368, a1); cocos2d::CCSize::operator=(v6 + 376, a2); cocos2d::CCSize::operator=(v6 + 384, a3); CCMenuExtra::enableRepeatPress((CCMenuExtra *)v6); return v6; } else { (*(void (__fastcall **)(int))(*(_DWORD *)v6 + 8))(v6); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source