// // sub_1004CB92C from 0x1004cb92c to 0x1004cb9dc (176 bytes) // // 2 xrefs: // > sub_1004CBA00 @ 0x1004cba18 // > sub_1004D8EEC @ 0x1004d8f18 // // 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:06:25 +0000 // __int64 __usercall sub_1004CB92C@(__int64 result@, _QWORD *a2@) { _QWORD *i; // x21 __int64 *v4; // x22 unsigned int j; // w20 __int64 v6; // x0 int v7; // w8 _DWORD *k; // x9 *a2 = 0; a2[1] = 0; a2[2] = 0; for ( i = *(_QWORD **)(result + 16); i; i = (_QWORD *)*i ) { v4 = (__int64 *)i[3]; if ( v4 ) { result = *v4; if ( *v4 ) { for ( j = 0; ; ++j ) { result = sub_1002E757C(result); if ( j >= (unsigned int)result ) break; v6 = sub_1002E75A0(*v4, j); if ( v6 ) { v7 = *(_DWORD *)(v6 + 1864); if ( v7 >= 1 ) { for ( k = (_DWORD *)*a2; k != (_DWORD *)a2[1]; ++k ) { if ( *k == v7 ) goto LABEL_13; } sub_10000D038((__int64)a2, (int *)(v6 + 1864)); } } LABEL_13: result = *v4; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source