// // UIOptionsLayer::ccTouchBegan from 0x5ddc08 to 0x5ddcda (210 bytes) // // 1 xrefs: // > `non-virtual thunk to'UIOptionsLayer::ccTouchBegan @ 0x5ddce4 // // 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:13 +0000 // int __fastcall UIOptionsLayer::ccTouchBegan(const cocos2d::CCPoint *a1, int a2) { int v4; // r6 int v5; // r10 const cocos2d::CCPoint *Node; // r4 int v7; // r0 int v8; // r0 _BYTE v10[8]; // [sp+Ch] [bp-10h] BYREF _BYTE v11[8]; // [sp+14h] [bp-8h] BYREF _BYTE v12[8]; // [sp+1Ch] [bp+0h] BYREF v4 = 0; cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)v10); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v11, a1); if ( *((_BYTE *)a1 + 712) ) v5 = 4; else v5 = 1; while ( 1 ) { Node = (const cocos2d::CCPoint *)UIOptionsLayer::getNode(a1, v4); if ( (*(int (__fastcall **)(const cocos2d::CCPoint *))(*(_DWORD *)Node + 176))(Node) ) { cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v12, Node); if ( GJUINode::touchTest(Node, (const cocos2d::CCPoint *)v12) ) break; } if ( ++v4 == v5 ) return 1; } if ( *((_BYTE *)a1 + 712) ) { v7 = (*(int (__fastcall **)(const cocos2d::CCPoint *))(*(_DWORD *)Node + 32))(Node); UIOptionsLayer::toggleUIGroup((int)a1, v7); } *((_DWORD *)Node + 72) = *(_DWORD *)(a2 + 52); cocos2d::CCPoint::operator=((char *)Node + 300, v11); v8 = (*(int (__fastcall **)(const cocos2d::CCPoint *))(*(_DWORD *)Node + 96))(Node); cocos2d::CCPoint::operator-(v12, v11, v8); cocos2d::CCPoint::operator=((char *)Node + 292, v12); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source