// // sub_10046C128 from 0x10046c128 to 0x10046c1e4 (188 bytes) // // 2 xrefs: // > sub_10046BE64 @ 0x10046bfec // > sub_100515B64 @ 0x100515cec // // 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:05:35 +0000 // __int64 __fastcall sub_10046C128( __int64 result, __int64 *a2, __int64 *a3, __int64 *a4, __int64 *a5, __int64 (__fastcall **a6)(__int64, __int64)) { __int64 *v11; // x23 __int64 *v12; // x8 __int64 v13; // x9 __int64 v14; // x9 __int64 v15; // t1 __int64 v16; // t1 if ( (__int64 *)result == a2 ) { LABEL_16: while ( a3 != a4 ) { v15 = *a3++; *a5++ = v15; } } else { v11 = (__int64 *)result; while ( a3 != a4 ) { result = (*a6)(*a3, *v11); if ( (_DWORD)result ) v12 = a3; else v12 = v11; if ( (_DWORD)result ) v13 = 0; else v13 = 8; v11 = (__int64 *)((char *)v11 + v13); if ( (_DWORD)result ) v14 = 8; else v14 = 0; a3 = (__int64 *)((char *)a3 + v14); *a5++ = *v12; if ( v11 == a2 ) goto LABEL_16; } while ( v11 != a2 ) { v16 = *v11++; *a5++ = v16; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source