// // CurrencyRewardLayer::incrementStarsCount from 0xa68788 to 0xa688b8 (304 bytes) // // 2 xrefs: // > CurrencyRewardLayer::update @ 0xa69370 // > @ 0x103c00 // // 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:00:18 +0000 // __int64 __fastcall CurrencyRewardLayer::incrementStarsCount(CurrencyRewardLayer *this, int a2) { cocos2d::CCSprite *v4; // x1 unsigned int v5; // w1 __int64 v6; // x22 size_t v7; // x20 void (__fastcall *v8)(__int64, _BYTE *); // x23 size_t v10; // [xsp+48h] [xbp+48h] BYREF unsigned __int64 v11; // [xsp+50h] [xbp+50h] _BYTE *v12; // [xsp+58h] [xbp+58h] _BYTE v13[504]; // [xsp+60h] [xbp+60h] BYREF if ( *((_QWORD *)this + 54) ) { v4 = *((cocos2d::CCSprite **)this + 60); *((_DWORD *)this + 135) += a2; CurrencyRewardLayer::pulseSprite(this, v4); v10 = 0; v5 = *((_DWORD *)this + 135); v11 = 500; v12 = v13; fmt::BasicWriter::FormatInt,char>>(&v10, v5); v6 = *((_QWORD *)this + 54); v7 = v10; v8 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v6 + 928LL); if ( v10 + 1 > v11 ) fmt::internal::Array::grow(&v10, v10 + 1); v12[v7] = 0; v8(v6, v12); if ( v12 != v13 && v12 ) operator delete[](v12); } return _stack_chk_guard; }