// // sub_F1260 from 0xf1260 to 0xf13ac (332 bytes) // // 1 xrefs: // > sub_F2CB8 @ 0xf2cc0 // // 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 12:15:05 +0000 // __int64 __fastcall sub_F1260(__int64 a1, __int64 a2) { __int64 v2; // x8 unsigned __int64 v5; // x9 __int64 result; // x0 __int64 v7; // x1 __int64 v8; // x21 unsigned int v9; // w0 int v10; // w8 __int64 v11; // x9 int v12; // w23 int v13; // w8 __int64 v14; // x8 int *v15; // x8 int v16; // w9 int v17; // [xsp+Ch] [xbp-24h] BYREF v2 = *(_QWORD *)(a2 + 8); if ( *(_DWORD *)(v2 + 472) ) { v5 = *(_QWORD *)(v2 + 528); if ( v5 ) { if ( *(_QWORD *)(v2 + 464) >= v5 ) { v15 = *(int **)a2; v16 = 4; goto LABEL_20; } } } result = sub_F2D5C(); if ( (_DWORD)result || (v8 = *(_QWORD *)(*(_QWORD *)(a2 + 8) + 120LL), v9 = sub_ECD2C(v8), result = sub_ECD60(a1, v8, &v17, v9), (_DWORD)result) ) { v10 = 1; while ( 1 ) { v11 = *(_QWORD *)(a2 + 8); v12 = v10; if ( *(_DWORD *)(v11 + 3976) ) { v13 = *(unsigned __int8 *)(v11 + 4038); v17 = v13; *(_DWORD *)(v11 + 3976) = 0; } else { result = sub_F2CE8(result, *(_QWORD *)(v11 + 120), &v17, 8); if ( !(_DWORD)result ) return result; v13 = v17; } if ( v13 == 255 ) { *(_BYTE *)(*(_QWORD *)(a2 + 8) + 4036LL) = -1; result = sub_F2B90(a1, v7, &v17, 8); if ( !(_DWORD)result ) return result; if ( v17 == 255 ) { v14 = *(_QWORD *)(a2 + 8); *(_BYTE *)(v14 + 4038) = -1; *(_DWORD *)(v14 + 3976) = 1; } else if ( (v17 & 0xFFFFFFFC) == 0xF8 ) { *(_BYTE *)(*(_QWORD *)(a2 + 8) + 4037LL) = v17; v15 = *(int **)a2; v16 = 3; LABEL_20: *v15 = v16; return 1; } } v10 = 0; if ( v12 ) { result = sub_F2CF0(); v10 = 0; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source