// // DeathTrackerPopup::ccTouchBegan from 0x1008d8230 to 0x1008d8380 (336 bytes) // // 2 xrefs: // > sub_1008D8380 @ 0x1008d838c // > @ 0x100bb1940 // // 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:37:42 +0000 // char __fastcall DeathTrackerPopup::ccTouchBegan(__int64 a1, __int64 a2) { int v4; // ecx char v5; // r13 int v6; // eax char v7; // cl __int64 v8; // r12 _QWORD *v9; // rsi bool v10; // r12 __int64 v11; // rdi float v13[4]; // [rsp+Ch] [rbp-54h] BYREF float v14[2]; // [rsp+1Ch] [rbp-44h] BYREF __int64 v15; // [rsp+24h] [rbp-3Ch] BYREF double v16; // [rsp+2Ch] [rbp-34h] BYREF int v17; // [rsp+34h] [rbp-2Ch] cocos2d::CCTouch::getLocation((__int64)v14, a2); v4 = *(_DWORD *)(a1 + 728); v5 = 1; v6 = 712; if ( v4 ) { if ( v4 != 1 ) { if ( v4 != 2 ) { v8 = *(_QWORD *)(a1 + 720); if ( v8 ) { v5 = 0; goto LABEL_12; } goto LABEL_16; } if ( *(_BYTE *)(a1 + 986) ) goto LABEL_5; } v7 = 1; v6 = 688; v5 = 0; v8 = *(_QWORD *)(a1 + 688); if ( v8 ) goto LABEL_8; LABEL_16: v10 = 0; return (v10 | FLAlertLayer::ccTouchBegan(a1, a2)) & 1; } LABEL_5: v7 = 0; v8 = *(_QWORD *)(a1 + 712); if ( !v8 ) goto LABEL_16; LABEL_8: if ( v7 ) { v9 = (_QWORD *)(*(_QWORD *)(a1 + 688) + 424LL); LOBYTE(v6) = 1; v17 = v6; goto LABEL_13; } LABEL_12: v9 = (_QWORD *)(v8 + 316); v17 = 0; LABEL_13: sub_100278630(&v15, v9); cocos2d::CCNode::convertToWorldSpace(&v16, v8, (unsigned int *)&unk_100BE6FE0); sub_100278270((__int64)v13, *(float *)&v16, *((float *)&v16 + 1), (__m128)(unsigned int)v15, (__m128)HIDWORD(v15)); v10 = sub_100278940(v13, v14); if ( v10 ) { if ( v5 ) { v11 = *(_QWORD *)(a1 + 712); } else { if ( (_BYTE)v17 ) { ScrollableContentLayer::handleTouchBegan(*(_QWORD *)(a1 + 688), a2); return (v10 | FLAlertLayer::ccTouchBegan(a1, a2)) & 1; } v11 = *(_QWORD *)(a1 + 720); } sub_1008BBE50(v11, a2); } return (v10 | FLAlertLayer::ccTouchBegan(a1, a2)) & 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source