// // UIPOptionsLayer::ccTouchMoved from 0x5d3d30 to 0x5d3dc0 (144 bytes) // // 1 xrefs: // > `non-virtual thunk to'UIPOptionsLayer::ccTouchMoved @ 0x5d3dc8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:54:07 +0000 // int __fastcall UIPOptionsLayer::ccTouchMoved(_DWORD *a1, int a2) { int result; // r0 const cocos2d::CCPoint *v5; // r2 const cocos2d::CCPoint *v6; // r1 int v7; // r7 int (__fastcall *v8)(int, _BYTE *); // r9 int v9; // [sp+4h] [bp+0h] BYREF _BYTE v10[8]; // [sp+Ch] [bp+8h] BYREF _BYTE v11[8]; // [sp+14h] [bp+10h] BYREF _BYTE v12[8]; // [sp+1Ch] [bp+18h] BYREF cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)&v9); result = cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v10, (const cocos2d::CCPoint *)a1); v5 = (const cocos2d::CCPoint *)a1[178]; if ( v5 == *(const cocos2d::CCPoint **)(a2 + 52) ) { if ( COERCE_FLOAT(cocos2d::ccpDistance((cocos2d *)v10, (const cocos2d::CCPoint *)(a1 + 180), v5)) > 1.0 ) v6 = (const cocos2d::CCPoint *)v10; else v6 = (const cocos2d::CCPoint *)(a1 + 180); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, v6); v7 = a1[179]; v8 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v7 + 92); cocos2d::CCPoint::operator-(v12, v11, a1 + 182); return v8(v7, v12); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source