// // cocos2d::CCPointArray::initWithCapacity from 0x180025f20 to 0x180025f5d (61 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801af37c // // 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 // char __fastcall cocos2d::CCPointArray::initWithCapacity(cocos2d::CCPointArray *this) { _QWORD *v2; // rax v2 = operator new(0x18u); if ( v2 ) { *v2 = 0; v2[1] = 0; v2[2] = 0; *((_QWORD *)this + 7) = v2; } else { *((_QWORD *)this + 7) = 0; } return 1; }