// // BonusDropdown::init from 0x3c00c4 to 0x3c02a4 (480 bytes) // // 1 xrefs: // > BonusDropdown::create @ 0x3c03a8 // // 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:46:30 +0000 // int __fastcall BonusDropdown::init(cocos2d::CCDirector *a1, int a2, PriceLabel *a3) { const char *v6; // r1 int v7; // r0 float v8; // s17 int v9; // r5 void (__fastcall *v10)(int, _BYTE *); // r7 int v11; // r0 int v12; // r0 float v13; // r1 float v14; // s15 int v15; // r0 int v16; // r3 int v17; // r7 void (__fastcall *v18)(int, _BYTE *); // r11 int v19; // r1 int v20; // r7 int v21; // r11 void (__fastcall *v22)(int, _BYTE *); // r11 const char *v23; // r2 cocos2d::CCLabelBMFont *v24; // r0 int v25; // r7 void (__fastcall *v26)(int, _BYTE *); // r9 int v27; // r5 void (__fastcall *v28)(int, _BYTE *); // r5 void (__fastcall *v30)(int, _BYTE *); // [sp+4h] [bp-28h] float v31[2]; // [sp+Ch] [bp-20h] BYREF _BYTE v32[8]; // [sp+14h] [bp-18h] BYREF _BYTE v33[8]; // [sp+1Ch] [bp-10h] BYREF cocos2d::CCDirector::sharedDirector(a1); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v31); v7 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"shopTabBG_001.png", v6); v8 = v31[0] * 0.5; v9 = v7; v10 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v7 + 92); v11 = (*(int (__fastcall **)(int))(*(_DWORD *)v7 + 164))(v7); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v33, v8, *(float *)(v11 + 4) * 0.5); v10(v9, v33); (*(void (__fastcall **)(int, int))(*(_DWORD *)v9 + 64))(v9, 1072064102); v12 = (*(int (__fastcall **)(int))(*(_DWORD *)v9 + 164))(v9); v13 = v31[0]; v14 = *(float *)(v12 + 4); v33[0] = 0; v33[1] = 0; v33[2] = 0; v33[3] = 0; *((float *)a1 + 67) = v14 - 2.0; v15 = cocos2d::CCLayerColor::create(v33, LODWORD(v13), v14 - 2.0); v16 = *(_DWORD *)a1; *((_DWORD *)a1 + 66) = v15; (*(void (__fastcall **)(cocos2d::CCDirector *, int))(v16 + 228))(a1, v15); v17 = *((_DWORD *)a1 + 66); v18 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v17 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v33, 0.0, v31[1]); v18(v17, v33); (*(void (__fastcall **)(int, int))(**((_DWORD **)a1 + 66) + 228))(*((_DWORD *)a1 + 66), v9); v20 = PriceLabel::create(a3, v19); v30 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v20 + 92); v21 = (*(int (__fastcall **)(int))(*(_DWORD *)v9 + 96))(v9); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v32, 100.0, -4.0); cocos2d::CCPoint::operator+(v33, v21, v32); v30(v20, v33); v22 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v20 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v33, 1.0, 0.5); v22(v20, v33); (*(void (__fastcall **)(int, int))(*(_DWORD *)v20 + 80))(v20, 1063675494); (*(void (__fastcall **)(int, int))(**((_DWORD **)a1 + 66) + 228))(*((_DWORD *)a1 + 66), v20); if ( (*(_BYTE *)a2 & 1) != 0 ) v24 = *(cocos2d::CCLabelBMFont **)(a2 + 8); else v24 = (cocos2d::CCLabelBMFont *)(a2 + 1); v25 = cocos2d::CCLabelBMFont::create(v24, "bigFont.fnt", v23); v26 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v25 + 92); v27 = (*(int (__fastcall **)(int))(*(_DWORD *)v9 + 96))(v9); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v32, -134.0, -1.0); cocos2d::CCPoint::operator+(v33, v27, v32); v26(v25, v33); v28 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v25 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v33, 0.0, 0.5); v28(v25, v33); (*(void (__fastcall **)(int, int))(*(_DWORD *)v25 + 80))(v25, 1063675494); (*(void (__fastcall **)(int, int, int))(**((_DWORD **)a1 + 66) + 232))(*((_DWORD *)a1 + 66), v25, 2); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source