// // EditorUI::getCreateMenuItemButton from 0x48174c to 0x48181a (206 bytes) // // 4 xrefs: // > EditorUI::createCustomItems @ 0x6f66e2 // > EditorUI::createCustomItems @ 0x6f6720 // > EditorUI::createCustomItems @ 0x6f675c // > EditorUI::createCustomItems @ 0x6f679a // // 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:49:22 +0000 // _DWORD *__fastcall EditorUI::getCreateMenuItemButton( int a1, ButtonSprite *this, int a3, int a4, int a5, int a6, int a7, const cocos2d::CCPoint *a8) { char *v9; // r3 ButtonSprite *v10; // r10 _DWORD *v11; // r4 float v13; // [sp+14h] [bp-1Ch] _BYTE v16[8]; // [sp+24h] [bp-Ch] BYREF switch ( a7 ) { case 2: v9 = "GJ_button_02.png"; break; case 3: v9 = "GJ_button_03.png"; break; case 4: v9 = "GJ_button_04.png"; break; case 5: v9 = "GJ_button_05.png"; break; case 6: v9 = "GJ_button_06.png"; break; default: v9 = "GJ_button_01.png"; break; } v10 = ButtonSprite::create( this, (cocos2d::CCSprite *)&dword_20, 0, 32.0, 1.0, (_BOOL4)&dword_0 + 1, v9, (const char *)&dword_0 + 1, 0.0, v13); v11 = (_DWORD *)CreateMenuItem::create(v10, 0, a1, a3, a4); (*(void (__fastcall **)(_DWORD *, int))(*v11 + 80))(v11, a6); v11[79] = a6; if ( a5 ) (*(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)a5 + 228))(a5, v11); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, a8); ButtonSprite::updateSpriteOffset(v10, (int)v16); return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source