// // Slider::init from 0x3dae94 to 0x3dafda (326 bytes) // // 1 xrefs: // > Slider::create @ 0x3db070 // // 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:47 +0000 // int __fastcall Slider::init( int a1, int a2, int a3, int a4, cocos2d::CCSprite *a5, cocos2d::CCSprite *a6, int a7, int a8, float a9) { int v11; // r7 const char *v12; // r1 int v13; // r0 const char *v14; // r1 int v15; // r0 int v16; // r3 float v17; // s15 int v18; // r0 int v19; // r8 void (__fastcall *v20)(int, _BYTE *); // r9 int v21; // r8 void (__fastcall *v22)(int, _BYTE *); // r9 _BYTE v26[8]; // [sp+1Ch] [bp-20h] BYREF _DWORD v27[4]; // [sp+24h] [bp-18h] BYREF v11 = cocos2d::CCLayer::init((cocos2d::CCLayer *)a1); if ( v11 ) { *(_DWORD *)(a1 + 316) = SliderTouchLogic::create(a2, a3, a4, a7, a8, a9); v13 = cocos2d::CCSprite::create(a6, v12); *(_DWORD *)(a1 + 324) = v13; (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v13 + 80))(v13, LODWORD(a9)); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)a1 + 228))(a1, *(_DWORD *)(a1 + 324)); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)a1 + 228))(a1, *(_DWORD *)(a1 + 316)); v15 = cocos2d::CCSprite::create(a5, v14); v16 = *(_DWORD *)(a1 + 324); *(_DWORD *)(a1 + 320) = v15; v17 = *(float *)(v16 + 344); *(_DWORD *)(a1 + 332) = 1090519040; v27[0] = 9729; v27[1] = 9729; v27[2] = 10497; v27[3] = 10497; *(float *)(a1 + 328) = v17 - 4.0; v18 = (*(int (__fastcall **)(int))(*(_DWORD *)v15 + 536))(v15); cocos2d::CCTexture2D::setTexParameters(v18, v27); (*(void (__fastcall **)(_DWORD, _DWORD, int))(**(_DWORD **)(a1 + 324) + 232))( *(_DWORD *)(a1 + 324), *(_DWORD *)(a1 + 320), -1); v19 = *(_DWORD *)(a1 + 320); v20 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v19 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v26, 0.0, 0.0); v20(v19, v26); v21 = *(_DWORD *)(a1 + 320); v22 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v21 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v26, 2.0, 4.0); v22(v21, v26); (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(a1 + 320) + 72))(*(_DWORD *)(a1 + 320), 1065353216); *(_DWORD *)(*(_DWORD *)(a1 + 316) + 352) = a1; } return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source