// // tinyxml2::DynArray::Push from 0x18009b3f0 to 0x18009b46b (123 bytes) // // 5 xrefs: // > tinyxml2::XMLPrinter::XMLPrinter @ 0x1800974fc // > @ 0x18013eee4 // > @ 0x18013eef4 // > @ 0x1801438a8 // > @ 0x1801b7080 // // 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 // const void *__fastcall tinyxml2::DynArray::Push(__int64 a1, char a2) { int v3; // eax int v5; // edi void *v6; // rsi const void *result; // rax v3 = *(_DWORD *)(a1 + 32) + 1; if ( v3 > *(_DWORD *)(a1 + 28) ) { v5 = 2 * v3; v6 = operator new(2 * v3); memcpy(v6, *(const void **)a1, *(int *)(a1 + 32)); if ( *(_QWORD *)a1 != a1 + 8 ) j_j_free_0(*(void **)a1); *(_QWORD *)a1 = v6; *(_DWORD *)(a1 + 28) = v5; } result = *(const void **)a1; *(_BYTE *)((int)(*(_DWORD *)(a1 + 32))++ + *(_QWORD *)a1) = a2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source