// // sub_1004C8EF4 from 0x1004c8ef4 to 0x1004c90b4 (448 bytes) // // 2 xrefs: // > EditorSFXManager::deserializeAll @ 0x1004c7b84 // > sub_1004C97AC @ 0x1004c9a10 // // 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:06:24 +0000 // std::string *__usercall sub_1004C8EF4@(__int64 a1@, __int64 a2@) { std::string *result; // x0 __int64 v5; // x8 __int64 v6; // x9 const std::string::value_type *v7; // x1 std::string::size_type v8; // x2 if ( !a1 ) return (std::string *)sub_100009900((_QWORD *)a2, ""); *(_QWORD *)a2 = 0; *(_QWORD *)(a2 + 8) = 0; *(_QWORD *)(a2 + 16) = 0; sub_1004C90D0((std::string *)a2); sub_1004C917C((std::string *)a2); sub_1004C90D0((std::string *)a2); sub_1004C90D0((std::string *)a2); sub_1004C90D0((std::string *)a2); sub_1004C90D0((std::string *)a2); sub_1004C90D0((std::string *)a2); sub_1004C90D0((std::string *)a2); sub_1004C917C((std::string *)a2); sub_1004C90D0((std::string *)a2); sub_1004C90D0((std::string *)a2); sub_1004C917C((std::string *)a2); sub_1004C9240((std::string *)a2); sub_1004C9240((std::string *)a2); sub_1004C90D0((std::string *)a2); result = (std::string *)sub_1004C9240((std::string *)a2); v5 = *(char *)(a1 + 2023); if ( v5 < 0 ) { if ( !*(_QWORD *)(a1 + 2008) ) return result; } else if ( !*(_BYTE *)(a1 + 2023) ) { return result; } v6 = *(unsigned __int8 *)(a2 + 23); if ( (v6 & 0x80u) != 0LL ) v6 = *(_QWORD *)(a2 + 8); if ( v6 ) { std::string::push_back((std::string *)a2, 44); LOBYTE(v5) = *(_BYTE *)(a1 + 2023); } if ( (v5 & 0x80u) == 0LL ) v7 = (const std::string::value_type *)(a1 + 2000); else v7 = *(const std::string::value_type **)(a1 + 2000); if ( (v5 & 0x80u) == 0LL ) v8 = (unsigned __int8)v5; else v8 = *(_QWORD *)(a1 + 2008); return std::string::append((std::string *)a2, v7, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source