// // sub_100631B54 from 0x100631b54 to 0x100631c58 (260 bytes) // // 1 xrefs: // > sub_10062F0A8 @ 0x10062f0f0 // // 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:10:28 +0000 // __int64 __fastcall sub_100631B54(__int64 a1, unsigned int *a2, unsigned __int64 a3, unsigned __int64 a4) { __int64 v8; // x19 _QWORD *v9; // x8 unsigned int v10; // w9 _QWORD *v11; // x10 _QWORD *v12; // x8 unsigned int v13; // w10 __int64 v14; // x9 _QWORD *v15; // x10 _DWORD *v16; // x11 __int64 v17; // x20 v8 = *(_QWORD *)(a1 + 168); if ( v8 ) sub_100568CC4(*(_QWORD *)(a1 + 168), 5u); if ( !a2 ) { v17 = 31; if ( !v8 ) return v17; goto LABEL_21; } v9 = (_QWORD *)(a1 + 568); v10 = -1; v11 = (_QWORD *)(a1 + 568); do { v11 = (_QWORD *)*v11; ++v10; } while ( v11 != v9 ); if ( !(a3 | a4) ) { v17 = 0; *a2 = v10; if ( !v8 ) return v17; goto LABEL_21; } v12 = (_QWORD *)*v9; v13 = *a2; if ( v10 < *a2 ) { *a2 = v10; v13 = v10; } if ( v13 ) { v14 = v13; v15 = (_QWORD *)a3; v16 = (_DWORD *)a4; do { if ( a3 ) *v15 = v12[3]; if ( a4 ) *v16 = v12[2]; v12 = (_QWORD *)*v12; ++v16; ++v15; --v14; } while ( v14 ); } v17 = 0; if ( v8 ) LABEL_21: sub_100568CE4(v8, 5u); return v17; }
GD Web Decomp Icon

GD Web Decomp

Raw Source