//
// cocos2d::CCLayerColor::changeWidth from 0xd5d814 to 0xd5d884 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0xbb588
//
// This function is hookable on this platform (idp: arm, 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 13:07:48 +0000
//
__int64 __fastcall cocos2d::CCLayerColor::changeWidth(cocos2d::CCLayerColor *this, float a2)
{
void (__fastcall *v3)(cocos2d::CCLayerColor *, float *); // x21
float v5; // [xsp+40h] [xbp+40h] BYREF
v3 = *(void (__fastcall **)(cocos2d::CCLayerColor *, float *))(*(_QWORD *)this + 320LL);
cocos2d::CCSize::CCSize(&v5, a2, *((float *)this + 28));
v3(this, &v5);
return _stack_chk_guard;
}