// // cocos2d::extension::CCControlStepper::setValueWithSendingEvent from 0x18000b930 to 0x18000ba65 (309 bytes) // // 5 xrefs: // > @ 0x180026508 // > @ 0x18002df44 // > @ 0x18002df54 // > @ 0x18002fdf8 // > @ 0x180049cc0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall cocos2d::extension::CCControlStepper::setValueWithSendingEvent( cocos2d::extension::CCControlStepper *this, double a2, char a3) { double v3; // xmm0_8 double v6; // xmm6_8 double *v7; // rdi bool v8; // zf __int16 *v9; // rdx __int16 *v10; // rdx _BYTE v11[3]; // [rsp+40h] [rbp+8h] BYREF __int16 v12; // [rsp+50h] [rbp+18h] BYREF char v13; // [rsp+52h] [rbp+1Ah] v3 = *((double *)this + 65); v6 = a2; if ( v3 <= a2 ) { v7 = (double *)((char *)this + 528); if ( a2 > *((double *)this + 66) ) { if ( *((_BYTE *)this + 514) ) v6 = *((double *)this + 65); else v6 = *((double *)this + 66); } } else { if ( *((_BYTE *)this + 514) ) v6 = *((double *)this + 66); else v6 = *((double *)this + 65); v7 = (double *)((char *)this + 528); } v8 = *((_BYTE *)this + 514) == 0; *((double *)this + 63) = v6; if ( v8 ) { if ( v6 == v3 ) { v12 = -27757; v9 = &v12; v13 = -109; } else { memset(v11, 55, sizeof(v11)); v9 = (__int16 *)v11; } (**(void (__fastcall ***)(__int64, __int16 *))(*((_QWORD *)this + 61) + 320LL))(*((_QWORD *)this + 61) + 320LL, v9); if ( v6 == *v7 ) { v12 = -27757; v10 = &v12; v13 = -109; } else { memset(v11, 55, sizeof(v11)); v10 = (__int16 *)v11; } (**(void (__fastcall ***)(__int64, __int16 *))(*((_QWORD *)this + 62) + 320LL))(*((_QWORD *)this + 62) + 320LL, v10); } if ( a3 ) (*(void (__fastcall **)(cocos2d::extension::CCControlStepper *, __int64))(*(_QWORD *)this + 1072LL))(this, 256); }