// // cocos2d::extension::CCControlSlider::needsLayout from 0xd0fe88 to 0xd0ffc4 (316 bytes) // // 2 xrefs: // > @ 0x4c1c8 // > @ 0x150c6b0 // // 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 13:07:02 +0000 // __int64 __fastcall cocos2d::extension::CCControlSlider::needsLayout(cocos2d::extension::CCControlSlider *this) { __int64 v2; // x0 float v3; // s8 const cocos2d::CCPoint *v4; // x0 float v5; // s8 __int64 v6; // x0 float v8; // [xsp+50h] [xbp+50h] BYREF float v9[2]; // [xsp+58h] [xbp+58h] BYREF float v10[2]; // [xsp+60h] [xbp+60h] BYREF _BYTE v11[16]; // [xsp+68h] [xbp+68h] BYREF v2 = *((_QWORD *)this + 62); if ( v2 && *((_QWORD *)this + 64) && *((_QWORD *)this + 63) ) { v3 = (float)(*((float *)this + 118) - *((float *)this + 119)) / (float)(*((float *)this + 120) - *((float *)this + 119)); v4 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, v4); v5 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 64) + 328LL))(*((_QWORD *)this + 64)) * v3; v6 = *((_QWORD *)this + 62); v8 = v5; (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v6 + 184LL))(v6, &v8); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v9, (const cocos2d::CCRect *)(*((_QWORD *)this + 63) + 424LL)); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v11, v9[0], v9[1], v8, v10[1]); cocos2d::CCRect::operator=(v9, v11); (*(void (__fastcall **)(_QWORD, float *, _QWORD, float *))(**((_QWORD **)this + 63) + 1144LL))( *((_QWORD *)this + 63), v9, *(unsigned __int8 *)(*((_QWORD *)this + 63) + 440LL), v10); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source