// // sub_100874000 from 0x100874000 to 0x100874088 (136 bytes) // // 2 xrefs: // > @ 0x100b8a308 // > @ 0x100ba0aa0 // // 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:36:52 +0000 // __int64 __fastcall sub_100874000(__int64 a1, __int64 a2) { __int64 result; // rax __int64 v4; // rdi __int64 v5; // r14 result = cocos2d::CCMenu::itemForTouch(a1 - 320, a2, 0); if ( result ) { v4 = *(_QWORD *)(a1 + 112); if ( result == v4 ) return result; } else { result = cocos2d::CCMenu::itemForTouch(a1 - 320, a2, 1); v4 = *(_QWORD *)(a1 + 112); if ( result == v4 ) return result; } if ( v4 ) { v5 = result; (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1024LL))(v4); result = v5; } *(_QWORD *)(a1 + 112) = result; if ( result ) return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 1016LL))(result); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source