// // Slider::init from 0x6b59dc to 0x6b5bc4 (488 bytes) // // 2 xrefs: // > Slider::create @ 0x6b5c90 // > @ 0xffc88 // // This function is hookable on this platform (idp: arm, 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 12:50:52 +0000 // __int64 __fastcall Slider::init( __int64 a1, int a2, int a3, int a4, cocos2d::CCSprite *a5, cocos2d::CCSprite *a6, cocos2d::CCSprite *a7, float a8) { unsigned __int8 v15; // w0 unsigned int v16; // w21 const char *v17; // x1 __int64 v18; // x0 const char *v19; // x1 __int64 v20; // x0 __int64 v21; // x4 float v22; // s0 __int64 v23; // x0 __int64 v24; // x23 void (__fastcall *v25)(__int64, _BYTE *); // x24 __int64 v26; // x23 void (__fastcall *v27)(__int64, _BYTE *); // x24 _BYTE v30[8]; // [xsp+70h] [xbp+70h] BYREF _DWORD v31[4]; // [xsp+78h] [xbp+78h] BYREF v15 = cocos2d::CCLayer::init((cocos2d::CCLayer *)a1); v16 = v15; if ( v15 ) { *(_QWORD *)(a1 + 408) = SliderTouchLogic::create(a2, a3, a4, a7, a8); v18 = cocos2d::CCSprite::create(a6, v17); *(_QWORD *)(a1 + 424) = v18; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v18 + 160LL))(v18, a8); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 456LL))(a1, *(_QWORD *)(a1 + 424)); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 456LL))(a1, *(_QWORD *)(a1 + 408)); v20 = cocos2d::CCSprite::create(a5, v19); *(_QWORD *)(a1 + 416) = v20; v21 = *(_QWORD *)(a1 + 424); v31[0] = 9729; v31[1] = 9729; v22 = *(float *)(v21 + 432); v31[2] = 10497; v31[3] = 10497; *(float *)(a1 + 436) = 8.0; *(float *)(a1 + 432) = v22 - 4.0; v23 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v20 + 1072LL))(v20); cocos2d::CCTexture2D::setTexParameters(v23, v31); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 424) + 464LL))( *(_QWORD *)(a1 + 424), *(_QWORD *)(a1 + 416), 0xFFFFFFFFLL); v24 = *(_QWORD *)(a1 + 416); v25 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v24 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 0.0, 0.0); v25(v24, v30); v26 = *(_QWORD *)(a1 + 416); v27 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v26 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 2.0, 4.0); v27(v26, v30); (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 416) + 144LL))(*(_QWORD *)(a1 + 416), 1.0); *(_QWORD *)(*(_QWORD *)(a1 + 408) + 456LL) = a1; } return v16; }
GD Web Decomp Icon

GD Web Decomp

Raw Source