// // cocos2d::extension::CCControlStepper::ccTouchBegan from 0x18000b750 to 0x18000b841 (241 bytes) // // 3 xrefs: // > @ 0x180028620 // > @ 0x180032408 // > @ 0x18004bbc4 // // This function is hookable on this platform (idp: pc, 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:15:37 +0000 // char __fastcall cocos2d::extension::CCControlStepper::ccTouchBegan( cocos2d::extension::CCControlStepper *this, struct cocos2d::CCTouch *a2, struct cocos2d::CCEvent *a3) { _DWORD *v3; // rbx float *v6; // rax __int64 v7; // r8 bool v8; // zf char v10; // [rsp+40h] [rbp+8h] BYREF char v11; // [rsp+58h] [rbp+20h] BYREF v3 = (_DWORD *)((char *)this - 320); if ( !(*(unsigned __int8 (__fastcall **)(char *, struct cocos2d::CCTouch *, struct cocos2d::CCEvent *))(*((_QWORD *)this - 40) + 1120LL))( (char *)this - 320, a2, a3) || !(*(unsigned __int8 (__fastcall **)(_DWORD *))(*(_QWORD *)v3 + 1040LL))(v3) || !(*(unsigned __int8 (__fastcall **)(_DWORD *))(*(_QWORD *)v3 + 344LL))(v3) ) { return 0; } (*(void (__fastcall **)(_DWORD *, char *, struct cocos2d::CCTouch *))(*(_QWORD *)v3 + 1112LL))(v3, &v10, a2); v6 = (float *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, (const struct cocos2d::CCPoint *)&v10); cocos2d::extension::CCControlStepper::updateLayoutUsingTouchLocation((__int64)v3, v6); v8 = *((_BYTE *)this + 193) == 0; *((_BYTE *)this + 224) = 1; if ( !v8 ) { v3[138] = -1; cocos2d::CCNode::schedule(v3, sub_18000BA74, v7, 4294967294LL, 1055286887); } return 1; }