// // CurrencySprite::createWithSprite from 0x1007a8a50 to 0x1007a8b15 (197 bytes) // // 1 xrefs: // > CurrencyRewardLayer::createObjectsFull @ 0x1007a8323 // // 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 // CurrencySprite *__fastcall CurrencySprite::createWithSprite(cocos2d::CCSprite *a1) { __int64 v1; // rsi char *v2; // rbx v2 = (char *)operator new(0x2A0u); cocos2d::CCSprite::CCSprite((__int64)v2, v1); *(_OWORD *)(v2 + 600) = 0; *(_DWORD *)(v2 + 615) = 0; *(_QWORD *)v2 = off_100991618; *((_QWORD *)v2 + 40) = off_100991B00; *((_QWORD *)v2 + 43) = off_100991B80; *(_OWORD *)(v2 + 620) = 0; *((_DWORD *)v2 + 159) = 1; *((_QWORD *)v2 + 80) = 0; *((_DWORD *)v2 + 162) = 1; sub_10028CC30(v2 + 652); *((_QWORD *)v2 + 83) = 0; if ( CurrencySprite::initWithSprite((CurrencySprite *)v2, a1) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return (CurrencySprite *)v2; }