// // CurrencySprite::create from 0x6049cc to 0x604a0e (66 bytes) // // 3 xrefs: // > CurrencyRewardLayer::createObjectsFull @ 0x604e0c // > CurrencyRewardLayer::init @ 0x6064f6 // > CurrencyRewardLayer::init @ 0x606736 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:54:43 +0000 // CurrencySprite *__fastcall CurrencySprite::create(int a1, int a2) { CurrencySprite *v4; // r4 int v5; // r3 CurrencySprite *v6; // r0 v4 = (CurrencySprite *)operator new(0x230u); CurrencySprite::CurrencySprite(v4); if ( CurrencySprite::init((int)v4, a1, a2) ) { cocos2d::CCObject::autorelease(v4); } else { v5 = *(_DWORD *)v4; v6 = v4; v4 = nullptr; (*(void (__fastcall **)(CurrencySprite *))(v5 + 8))(v6); } return v4; }