//
// cocos2d::CCLayerColor::changeWidth from 0x1800514a0 to 0x1800514d6 (54 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bc094
//
// 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:21:45 +0000
//
void __fastcall cocos2d::CCLayerColor::changeWidth(cocos2d::CCLayerColor *this, float a2)
{
__int64 v2; // rbx
float *v4; // rax
float v5; // [rsp+30h] [rbp+8h] BYREF
v2 = *(_QWORD *)this;
v4 = kmVec2Fill(&v5, a2, *((float *)this + 28));
(*(void (__fastcall **)(cocos2d::CCLayerColor *, float *))(v2 + 312))(this, v4);
}