// // CurrencyRewardLayer::incrementSpecialCount1 from 0x4d08e8 to 0x4d0968 (128 bytes) // // 1 xrefs: // > CurrencyRewardLayer::update @ 0x4d0eee // // 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::incrementSpecialCount1(CurrencyRewardLayer *a1, int a2) { int m_keys; // r1 cocos2d::CCLabelBMFont *m_keysLabel; // r5 void (__fastcall *setString)(cocos2d::CCLabelBMFont *__hidden, const unsigned __int8 *); // r7 int v6; // r0 unsigned int v7[3]; // [sp+4h] [bp-208h] BYREF char v8; // [sp+10h] [bp-1FCh] BYREF if ( a1->m_keysLabel ) { a1->m_keys += a2; CurrencyRewardLayer::pulseSprite(a1, a1->m_keysSprite); m_keys = a1->m_keys; v7[0] = 0; v7[1] = 500; v7[2] = (unsigned int)&v8; fmt::BasicWriter::operator<<(v7, m_keys); m_keysLabel = a1->m_keysLabel; setString = m_keysLabel->setString; v6 = fmt::BasicWriter::c_str((int *)v7); setString(m_keysLabel, (const unsigned __int8 *)v6); fmt::internal::Array::free((int)v7); } }