// // sub_6104C from 0x6104c to 0x61098 (76 bytes) // // 1 xrefs: // > sub_5E11C @ 0x5e328 // // 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:13:53 +0000 // __int64 *__fastcall sub_6104C(__int64 *result, __int64 a2) { __int64 v2; // x8 long double v3; // q0 __int64 v4; // x20 v2 = *result; if ( *result ) { v3 = *(long double *)v2; *(_QWORD *)(a2 + 16) = *(_QWORD *)(v2 + 16); *(long double *)a2 = v3; v4 = *result; while ( 1 ) { v4 = *(_QWORD *)(v4 + 72); if ( !v4 ) break; result = (__int64 *)sub_61710(v3); } } else { *(_QWORD *)a2 = 0; *(_QWORD *)(a2 + 8) = 0; *(_QWORD *)(a2 + 16) = 0; } return result; }