// // sub_845FD0 from 0x845fd0 to 0x846056 (134 bytes) // // 1 xrefs: // > sub_83168C @ 0x832d24 // // 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:02:24 +0000 // _DWORD *__fastcall sub_845FD0(const char *a1, _DWORD *a2) { _DWORD *result; // r0 _DWORD *v5; // r4 _WORD *v6; // r5 size_t v7; // r0 result = off_D200BC(1u, 0x20u); v5 = result; if ( result ) { v6 = off_D200BC(1u, 0x6Eu); v5[6] = v6; if ( v6 ) { v7 = strlen(a1); if ( v7 > 0x6B ) { off_D200B0(v6); off_D200B0(v5); *a2 = 1; return nullptr; } else { v5[1] = 1; v5[2] = 1; v5[4] = 110; *v6 = 1; memcpy(v6 + 1, a1, v7 + 1); return v5; } } else { off_D200B0(v5); *a2 = 0; return nullptr; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source