// // sub_B2283C from 0xb2283c to 0xb228b0 (116 bytes) // // 2 xrefs: // > tinyxml2::XMLDocument::Identify @ 0xb25e38 // > tinyxml2::XMLDocument::Identify @ 0xb25e4c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall sub_B2283C(__int64 a1, int a2) { int v2; // w20 unsigned __int64 v4; // x0 void *v5; // x21 void *v6; // x0 v2 = 2 * a2; v4 = 16LL * a2; if ( (unsigned __int64)(2 * a2) > 0xFE0000000000000LL ) v4 = -1; v5 = (void *)operator new[](v4); memcpy(v5, *(const void **)a1, 8LL * *(int *)(a1 + 92)); v6 = *(void **)a1; if ( *(_QWORD *)a1 != a1 + 8 && v6 ) operator delete[](v6); *(_QWORD *)a1 = v5; *(_DWORD *)(a1 + 88) = v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source