// // cocos2d::extension::CCControlSlider::needsLayout from 0x7a96bc to 0x7a9788 (204 bytes) // // 0 xrefs: // // 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 12:00:01 +0000 // int __fastcall cocos2d::extension::CCControlSlider::needsLayout(cocos2d::extension::CCControlSlider *this) { int result; // r0 float v3; // s16 const cocos2d::CCPoint *v4; // r0 float v5; // s15 int v6; // r0 float v7[2]; // [sp+Ch] [bp-30h] BYREF float v8[2]; // [sp+14h] [bp-28h] BYREF _BYTE v9[4]; // [sp+1Ch] [bp-20h] BYREF float v10; // [sp+20h] [bp-1Ch] _BYTE v11[16]; // [sp+24h] [bp-18h] BYREF result = *((_DWORD *)this + 94); if ( result && *((_DWORD *)this + 96) ) { if ( *((_DWORD *)this + 95) ) { v3 = (float)(*((float *)this + 89) - *((float *)this + 90)) / (float)(*((float *)this + 91) - *((float *)this + 90)); v4 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)result + 96))(result); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, v4); v5 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 96) + 164))(*((_DWORD *)this + 96)); v6 = *((_DWORD *)this + 94); v7[0] = v3 * v5; (*(void (__fastcall **)(int, float *))(*(_DWORD *)v6 + 92))(v6, v7); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, (const cocos2d::CCRect *)(*((_DWORD *)this + 95) + 336)); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v11, v8[0], v8[1], v7[0], v10); cocos2d::CCRect::operator=(v8, v11); return (*(int (__fastcall **)(_DWORD, float *, _DWORD, _BYTE *))(**((_DWORD **)this + 95) + 572))( *((_DWORD *)this + 95), v8, *(unsigned __int8 *)(*((_DWORD *)this + 95) + 352), v9); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source