// // SetupTouchTogglePopup::determineStartValues from 0x1002e8f98 to 0x1002e90b8 (288 bytes) // // 1 xrefs: // > @ 0x1009265a8 // // 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:02:52 +0000 // __int64 __fastcall SetupTouchTogglePopup::determineStartValues(__int64 a1) { __int64 result; // x0 _QWORD *v3; // x20 unsigned int i; // w21 __int64 v5; // x0 int v6; // w9 int v7; // w8 int v8; // w9 int v9; // w8 int v10; // w9 int v11; // w8 result = SetupTriggerPopup::determineStartValues(a1); if ( *(_QWORD *)(a1 + 680) ) { v3 = sub_1002E736C(); result = sub_1002E74E0((__int64)v3); if ( !v3 ) return result; } else { v3 = *(_QWORD **)(a1 + 688); if ( !v3 ) return result; } result = sub_1002E757C((__int64)v3); if ( (_DWORD)result ) { *(_BYTE *)(a1 + 1028) = 1; *(_DWORD *)(a1 + 1024) = -1; *(_BYTE *)(a1 + 1056) = 1; *(_QWORD *)(a1 + 1032) = -1; result = sub_1002E757C((__int64)v3); if ( (_DWORD)result ) { for ( i = 0; i < (unsigned int)result; ++i ) { v5 = sub_1002E75A0((__int64)v3, i); if ( (*(_BYTE *)(v5 + 1638) & 1) == 0 ) *(_BYTE *)(a1 + 1028) = 0; if ( (*(_BYTE *)(v5 + 1648) & 1) == 0 ) *(_BYTE *)(a1 + 1056) = 0; v6 = *(_DWORD *)(a1 + 1024); v7 = *(_DWORD *)(v5 + 1464); if ( v6 != -1 ) { if ( v6 == v7 ) goto LABEL_16; v7 = 0; } *(_DWORD *)(a1 + 1024) = v7; LABEL_16: v8 = *(_DWORD *)(a1 + 1032); v9 = *(_DWORD *)(v5 + 1640); if ( v8 != -1 ) { if ( v8 == v9 ) goto LABEL_20; v9 = 0; } *(_DWORD *)(a1 + 1032) = v9; LABEL_20: v10 = *(_DWORD *)(a1 + 1036); v11 = *(_DWORD *)(v5 + 1644); if ( v10 == -1 ) goto LABEL_23; if ( v10 != v11 ) { v11 = 0; LABEL_23: *(_DWORD *)(a1 + 1036) = v11; } result = sub_1002E757C((__int64)v3); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source