// // cocos2d::extension::CCControlSwitch::ccTouchBegan from 0x100392480 to 0x10039254b (203 bytes) // // 2 xrefs: // > sub_100392550 @ 0x10039255c // > @ 0x100b30d50 // // 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:29:14 +0000 // char __fastcall cocos2d::extension::CCControlSwitch::ccTouchBegan(__int64 a1, __int64 a2) { __int64 v2; // rax __int64 v4; // [rsp+8h] [rbp-28h] BYREF _QWORD v5[4]; // [rsp+10h] [rbp-20h] BYREF if ( !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1352LL))(a1) || !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1272LL))(a1) || !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)a1 + 352LL))(a1) ) { return 0; } *(_BYTE *)(a1 + 484) = 0; cocos2d::CCTouch::getLocation((__int64)v5, a2); cocos2d::CCNode::convertToNodeSpace((double *)&v4, a1, (unsigned int *)v5); sub_100278300(v5, &v4); v2 = *(_QWORD *)(a1 + 472); *(float *)(a1 + 480) = *(float *)v5 - *(float *)(v2 + 608); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(v2 + 656) + 960LL))(*(_QWORD *)(v2 + 656), &unk_100A08DC5); sub_1003914D0(*(unsigned __int8 **)(a1 + 472)); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source