// // sub_1800A1D00 from 0x1800a1d00 to 0x1800a1d3d (61 bytes) // // 2 xrefs: // > cocos2d::CCArray::reduceMemoryFootprint @ 0x180007324 // > @ 0x1801c17b8 // // 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:22:13 +0000 // void *__fastcall sub_1800A1D00(unsigned int *a1) { void *result; // rax unsigned int v3; // ecx void *v4; // rcx result = (void *)*a1; v3 = a1[1]; if ( v3 > (unsigned int)result ) { if ( !(_DWORD)result ) { if ( v3 == 1 ) return result; LODWORD(result) = 1; } v4 = *((void **)a1 + 2); a1[1] = (unsigned int)result; result = realloc(v4, 8LL * (unsigned int)result); *((_QWORD *)a1 + 2) = result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source