//
// CurrencyRewardLayer::createUnlockObject from 0x4d2144 to 0x4d2188 (68 bytes)
//
// 2 xrefs:
// > GJGarageLayer::dialogClosed @ 0x404bfe
// > RewardUnlockLayer::playRewardEffect @ 0x4e9576
//
// 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
//
void CurrencyRewardLayer::createUnlockObject(
CurrencyRewardLayer *a1,
cocos2d::CCSprite *a2,
cocos2d::CCPoint a3,
float a4)
{
float y; // r8
cocos2d::CCPoint v7; // [sp+0h] [bp-18h]
float v8; // [sp+8h] [bp-10h]
cocos2d::CCPoint v9; // [sp+Ch] [bp-Ch] BYREF
y = a3.y;
cocos2d::CCPoint::CCPoint(&v9, (const cocos2d::CCPoint *)LODWORD(a3.x));
LODWORD(v7.x) = &v9;
v7.y = y;
CurrencyRewardLayer::createObjectsFull(a1, Icon, 1, a2, v7, v8);
}