// // sub_998850 from 0x998850 to 0x99888e (62 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:06:42 +0000 // int __fastcall sub_998850(int a1, int a2, unsigned int a3) { int v3; // r4 int v4; // lr int v5; // r3 unsigned int v6; // r3 v3 = 0; if ( a3 >= 2 ) { v4 = 0; while ( 1 ) { v5 = *(_DWORD *)(a2 + 4 * v4); if ( !v5 ) break; v3 = v4 + 1; *(_DWORD *)(a1 + 4 * v4) = v5; v6 = v4 + 2; ++v4; if ( v6 >= a3 ) goto LABEL_7; } v3 = v4; } LABEL_7: *(_DWORD *)(a1 + 4 * v3) = 0; while ( *(_DWORD *)(a2 + 4 * v3++) ) ; return v3 - 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source