// // sub_1006934E0 from 0x1006934e0 to 0x1006935f4 (276 bytes) // // 3 xrefs: // > sub_10069302C @ 0x10069307c // > sub_100693620 @ 0x100693734 // > sub_100693620 @ 0x100693800 // // 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:11:33 +0000 // __int64 __fastcall sub_1006934E0(__int64 a1, _DWORD *a2) { __int64 result; // x0 __int64 v4; // x0 int v5; // w9 __int64 v6; // x8 int v7; // w8 unsigned int v8; // w9 __int64 (*v9)(void); // x3 int v10; // w10 if ( *(_BYTE *)(a1 + 35561) ) return 0; v4 = *(_QWORD *)(a1 + 16); if ( !v4 ) return 0; v5 = *(_DWORD *)(a1 + 24); if ( (unsigned int)(v5 - 3) <= 0xD ) *(_QWORD *)v4 = a1; v6 = 0; switch ( v5 ) { case 4: v7 = *(_DWORD *)(v4 + 472); if ( v7 == -1 ) { v8 = 0; v6 = 0; } else { *a2 = v7; v6 = 0x10000; v8 = 1; } v10 = *(_DWORD *)(v4 + 476); if ( v10 == -1 ) goto LABEL_21; a2[v8] = v10; result = (1 << (v8 | 0x10)) | (unsigned int)v6; break; case 5: *a2 = *(_DWORD *)(v4 + 464); if ( *(_DWORD *)(v4 + 1592) == 1 ) v6 = 1; else v6 = 0x10000; goto LABEL_21; case 6: case 7: result = sub_100682B60(v4); break; case 9: case 10: result = sub_100682B78(v4); break; case 11: v9 = *(__int64 (**)(void))(*(_QWORD *)(v4 + 800) + 80LL); if ( v9 ) result = v9(); else result = 0; break; case 12: case 13: case 14: result = sub_10068CE80((__int64 *)v4, a2, 5); break; default: LABEL_21: result = v6; break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source