// // DeathTrackerPopup::ccTouchBegan from 0x1004c0ca8 to 0x1004c0de0 (312 bytes) // // 2 xrefs: // > sub_1004C0DE0 @ 0x1004c0de4 // > @ 0x100984540 // // This function is hookable on this platform (idp: arm, 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:06:19 +0000 // __int64 __fastcall DeathTrackerPopup::ccTouchBegan(__int64 a1, float32x2_t *a2, __int64 a3) { int v6; // w8 int v7; // w23 __int64 v8; // x9 __int64 v9; // x22 double *v10; // x1 int v11; // w24 __int64 v12; // x0 float v14[4]; // [xsp+8h] [xbp-58h] BYREF __int64 v15; // [xsp+18h] [xbp-48h] BYREF __int64 v16; // [xsp+20h] [xbp-40h] BYREF float v17; // [xsp+28h] [xbp-38h] BYREF cocos2d::CCTouch::getLocation(a2, &v17); v6 = *(_DWORD *)(a1 + 728); if ( !v6 ) goto LABEL_6; if ( v6 != 1 ) { if ( v6 != 2 ) { v9 = *(_QWORD *)(a1 + 720); if ( !v9 ) return ((unsigned int)v9 | (unsigned int)FLAlertLayer::ccTouchBegan(a1, (__int64)a2, a3)) & 1; v7 = 0; goto LABEL_13; } if ( (*(_BYTE *)(a1 + 986) & 1) != 0 ) { v6 = 0; LABEL_6: v7 = 1; v8 = 712; goto LABEL_8; } } v7 = 0; v6 = 1; v8 = 688; LABEL_8: v9 = *(_QWORD *)(a1 + v8); if ( !v9 ) return ((unsigned int)v9 | (unsigned int)FLAlertLayer::ccTouchBegan(a1, (__int64)a2, a3)) & 1; if ( v6 ) { v10 = (double *)(*(_QWORD *)(a1 + 688) + 424LL); v11 = 1; goto LABEL_14; } LABEL_13: v11 = 0; v10 = (double *)(v9 + 316); LABEL_14: sub_100026438(&v16, v10); cocos2d::CCNode::convertToWorldSpace(v9, (__int64)&unk_1009F7E50, &v15); sub_1000262CC(v14, *(float *)&v15, *((float *)&v15 + 1), *(float *)&v16, *((float *)&v16 + 1)); LODWORD(v9) = sub_1000265E4(v14, &v17); if ( (_DWORD)v9 ) { if ( v7 ) { v12 = *(_QWORD *)(a1 + 712); LABEL_20: sub_1004AF848(v12, (__int64)a2); return ((unsigned int)v9 | (unsigned int)FLAlertLayer::ccTouchBegan(a1, (__int64)a2, a3)) & 1; } if ( !v11 ) { v12 = *(_QWORD *)(a1 + 720); goto LABEL_20; } sub_100525210(*(_QWORD *)(a1 + 688), a2); } return ((unsigned int)v9 | (unsigned int)FLAlertLayer::ccTouchBegan(a1, (__int64)a2, a3)) & 1; }