// // DeathTrackerPopup::ccTouchBegan from 0x7709a8 to 0x770a96 (238 bytes) // // 1 xrefs: // > `non-virtual thunk to'DeathTrackerPopup::ccTouchBegan @ 0x770aa4 // // 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:59:15 +0000 // int __fastcall DeathTrackerPopup::ccTouchBegan(int a1, cocos2d::CCTouch *a2, int a3) { int v6; // r3 int v7; // r4 int v8; // r8 int v9; // r11 ScrollableContentLayer **v10; // r0 int result; // r0 _BYTE v12[8]; // [sp+Ch] [bp-30h] BYREF float v13[2]; // [sp+14h] [bp-28h] BYREF float v14[2]; // [sp+1Ch] [bp-20h] BYREF _BYTE v15[16]; // [sp+24h] [bp-18h] BYREF cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)v12); v6 = *(_DWORD *)(a1 + 560); switch ( v6 ) { case 0: goto LABEL_4; case 2: if ( *(_BYTE *)(a1 + 706) ) { LABEL_4: v7 = *(_DWORD *)(a1 + 552); if ( !v7 ) goto LABEL_21; v8 = 1; LABEL_11: cocos2d::CCSize::CCSize((cocos2d::CCSize *)v13, (const cocos2d::CCSize *)(v7 + 264)); v9 = 0; goto LABEL_12; } break; case 1: break; default: v7 = *(_DWORD *)(a1 + 556); if ( !v7 ) goto LABEL_21; v8 = 0; goto LABEL_11; } v7 = *(_DWORD *)(a1 + 532); if ( !v7 ) goto LABEL_21; v8 = 0; cocos2d::CCSize::CCSize((cocos2d::CCSize *)v13, (const cocos2d::CCSize *)(v7 + 324)); v9 = 1; LABEL_12: cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v14, (const cocos2d::CCPoint *)v7); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v15, v14[0], v14[1], v13[0], v13[1]); if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v15, (const cocos2d::CCPoint *)v12) ) { if ( v8 ) { v10 = *(ScrollableContentLayer ***)(a1 + 552); } else { if ( v9 ) { ScrollableContentLayer::handleTouchBegan(*(ScrollableContentLayer **)(a1 + 532), a2); LABEL_19: v7 = 1; goto LABEL_21; } v10 = *(ScrollableContentLayer ***)(a1 + 556); } DeathHistogram::handleTouchBegan(v10, a2); goto LABEL_19; } v7 = 0; LABEL_21: result = FLAlertLayer::ccTouchBegan((_DWORD *)a1, (int)a2, a3); if ( v7 ) return 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source