// // cocos2d::extension::CCControlStepper::setValueWithSendingEvent from 0xd15b00 to 0xd15c58 (344 bytes) // // 2 xrefs: // > @ 0x55318 // > @ 0x150e850 // // 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:05 +0000 // __int64 __fastcall cocos2d::extension::CCControlStepper::setValueWithSendingEvent( cocos2d::extension::CCControlStepper *this, double a2, unsigned __int8 a3) { int v4; // w21 double v5; // d1 int v7; // w0 __int64 v8; // x0 void (*v9)(void); // x2 void (*v10)(void); // x2 double v11; // [xsp+30h] [xbp+30h] _BYTE v12[3]; // [xsp+40h] [xbp+40h] BYREF v4 = a3; v5 = *((double *)this + 65); if ( v5 > a2 ) { if ( *((_BYTE *)this + 514) ) { v5 = *((double *)this + 66); LABEL_4: *((double *)this + 63) = v5; goto LABEL_5; } a2 = *((double *)this + 65); LABEL_10: v8 = *((_QWORD *)this + 61); *((double *)this + 63) = a2; v9 = *(void (**)(void))(*(_QWORD *)v8 + 960LL); if ( a2 == v5 ) { LABEL_11: memset(v12, 147, sizeof(v12)); LABEL_12: v11 = a2; v9(); v10 = *(void (**)(void))(**((_QWORD **)this + 62) + 960LL); if ( *((double *)this + 66) == v11 ) memset(v12, 147, sizeof(v12)); else memset(v12, 55, sizeof(v12)); v10(); goto LABEL_5; } LABEL_17: memset(v12, 55, sizeof(v12)); goto LABEL_12; } v7 = *((unsigned __int8 *)this + 514); if ( a2 > *((double *)this + 66) ) { a2 = *((double *)this + 66); if ( *((_BYTE *)this + 514) ) goto LABEL_4; goto LABEL_10; } *((double *)this + 63) = a2; if ( !v7 ) { v9 = *(void (**)(void))(**((_QWORD **)this + 61) + 960LL); if ( a2 == v5 ) goto LABEL_11; goto LABEL_17; } LABEL_5: if ( v4 ) (*(void (__fastcall **)(cocos2d::extension::CCControlStepper *, __int64))(*(_QWORD *)this + 1320LL))(this, 256); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source