// // sub_1007933E0 from 0x1007933e0 to 0x100793494 (180 bytes) // // 1 xrefs: // > @ 0x10098c550 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // char __fastcall sub_1007933E0(__int64 a1, cocos2d::CCTouch *a2) { __int64 v2; // r14 cocos2d::CCMenuItem *v3; // rax if ( *(_DWORD *)(a1 + 108) || *(_BYTE *)(a1 - 34) != 1 || *(_BYTE *)(a1 + 106) != 1 ) return 0; v2 = *(_QWORD *)(a1 - 104); if ( v2 ) { while ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v2 + 336LL))(v2) ) { v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 496LL))(v2); if ( !v2 ) goto LABEL_7; } return 0; } LABEL_7: v3 = cocos2d::CCMenu::itemForTouch((cocos2d::CCMenu *)(a1 - 320), a2, 0); if ( v3 ) { *(_QWORD *)(a1 + 112) = v3; LABEL_11: *(_DWORD *)(a1 + 108) = 1; ((void (__fastcall *)(cocos2d::CCMenuItem *))v3->selected)(v3); return 1; } v3 = cocos2d::CCMenu::itemForTouch((cocos2d::CCMenu *)(a1 - 320), a2, 1); *(_QWORD *)(a1 + 112) = v3; if ( v3 ) goto LABEL_11; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source