// // sub_18003DBC0 from 0x18003dbc0 to 0x18003dc6c (172 bytes) // // 5 xrefs: // > sub_18003FC20 @ 0x18003fced // > sub_180040170 @ 0x180040224 // > @ 0x18014014c // > @ 0x18014015c // > @ 0x1801bb290 // // This function is hookable on this platform (idp: pc, 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:21:37 +0000 // __int64 __fastcall sub_18003DBC0(_WORD *a1, unsigned __int64 a2, int a3) { __int64 v3; // r10 unsigned __int64 i; // r9 __int64 v5; // r8 __int64 v6; // rax char v7; // r9 __int64 result; // rax __int64 v9; // r9 v3 = (unsigned int)(a3 - 1); for ( i = a2; i >= 0x64; a1[v6] = a00010203040506[v5] ) { v5 = 2 * (unsigned int)(i % 0x64); i /= 0x64u; v6 = (unsigned int)(v3 - 1); a1[v3] = a00010203040506[(unsigned int)(v5 + 1)]; v3 = (unsigned int)(v3 - 2); } if ( i >= 0xA ) { v9 = (unsigned int)(2 * i); a1[1] = a00010203040506[(unsigned int)(v9 + 1)]; result = (unsigned int)a00010203040506[v9]; *a1 = a00010203040506[v9]; } else { v7 = i + 48; *a1 = v7; return (unsigned int)v7; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source