// // sub_1005E1534 from 0x1005e1534 to 0x1005e168c (344 bytes) // // 4 xrefs: // > sub_1005E142C @ 0x1005e1470 // > sub_1005E142C @ 0x1005e14ac // > sub_1005E142C @ 0x1005e14e4 // > sub_1005F6BF0 @ 0x1005f6c28 // // 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:09:40 +0000 // __int64 __fastcall sub_1005E1534(_QWORD *a1, __int64 a2, __int64 a3) { _QWORD *v5; // x9 __int64 v6; // x10 unsigned int *v7; // x21 __int64 *v8; // x9 __int64 *v9; // x9 _DWORD *v10; // x8 __int64 v11; // x9 unsigned __int64 i; // x22 __int64 v13; // x23 __int64 v14; // x1 __int64 result; // x0 v5 = a1 + 40; do { v5 = (_QWORD *)*v5; if ( v5 == a1 + 40 ) { v8 = a1 + 80; do { v8 = (__int64 *)*v8; if ( v8 == a1 + 80 ) { v9 = a1 + 47; while ( 1 ) { v9 = (__int64 *)*v9; if ( v9 == a1 + 47 ) goto LABEL_23; if ( *((_DWORD *)v9 + 36) == (_DWORD)a2 ) { v7 = (unsigned int *)v9[32]; if ( !v7 ) goto LABEL_23; goto LABEL_15; } } } } while ( *((_DWORD *)v8 + 48) != (_DWORD)a2 ); v7 = (unsigned int *)v8[34]; if ( v7 ) goto LABEL_15; goto LABEL_23; } v6 = v5[2]; } while ( *(_DWORD *)(v6 + 20) != (_DWORD)a2 ); v7 = *(unsigned int **)(v6 + 112); if ( v7 ) { LABEL_15: v10 = *((_DWORD **)v7 + 1); if ( *v10 == (_DWORD)a2 ) { v11 = *v7; if ( (int)v11 >= 1 ) { for ( i = v11 + 1; i > 1; --i ) { v13 = (unsigned int)(i - 2); v14 = (unsigned int)v10[(unsigned int)v13]; if ( (_DWORD)v14 ) { result = sub_1005E1784(a1, v14, a3); if ( (_DWORD)result ) return result; v10 = *((_DWORD **)v7 + 1); v10[v13] = 0; } } } sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), (int *)v7); } return 0; } LABEL_23: result = sub_1005E1784(a1, a2, a3); if ( (_DWORD)result ) return result; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source