// // sub_10054D700 from 0x10054d700 to 0x10054d788 (136 bytes) // // 1 xrefs: // > sub_10054D164 @ 0x10054d574 // // 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:07:51 +0000 // __n128 __fastcall sub_10054D700(__int64 a1, __n128 *a2) { int v4; // w8 int v5; // w9 int v6; // w9 int v7; // w8 __int64 v8; // x1 __n128 result; // q0 v4 = *(_DWORD *)(a1 + 8); v5 = *(_DWORD *)(a1 + 12); if ( v5 < 0 ) v5 = -v5; if ( v5 > v4 ) goto LABEL_12; v6 = (int)(float)((float)v5 * 1.5); if ( v6 <= v4 + 1 ) v7 = v4 + 1; else v7 = v6; if ( v7 <= 4 ) v8 = 4; else v8 = (unsigned int)v7; if ( !(unsigned int)sub_10054DF10(a1, v8) ) { v4 = *(_DWORD *)(a1 + 8); LABEL_12: result = *a2; *(__n128 *)(*(_QWORD *)a1 + 16LL * v4) = *a2; ++*(_DWORD *)(a1 + 8); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source