// // DpadMenu::ccTouchBegan from 0x1401f3100 to 0x1401f31e1 (225 bytes) // // 3 xrefs: // > @ 0x140752cb8 // > @ 0x14091a9d8 // > @ 0x14091a9e4 // // 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 11:28:08 +0000 // char __fastcall DpadMenu::ccTouchBegan(__int64 a1, __int64 a2) { __int64 v4; // rbx __int64 Location; // rax __int64 v6; // rax char v8; // [rsp+30h] [rbp+8h] BYREF if ( !*(_DWORD *)(a1 + 116) && *(_BYTE *)(a1 - 34) && (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)(a1 - 320) + 1032LL))(a1 - 320) ) { v4 = *(_QWORD *)(a1 - 104); if ( v4 ) { while ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v4 + 344LL))(v4) ) { v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 504LL))(v4); if ( !v4 ) goto LABEL_7; } } else { LABEL_7: Location = cocos2d::CCTouch::getLocation(a2, &v8); if ( !sub_14004A7E0(a1 - 320, Location) ) { v6 = DpadMenu::arrowForTouch(a1 - 320, a2); *(_QWORD *)(a1 + 120) = v6; if ( v6 ) { *(_DWORD *)(a1 + 116) = 1; (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 896LL))(v6); return 1; } } } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source