// // sub_1003CFD70 from 0x1003cfd70 to 0x1003cfe58 (232 bytes) // // 1 xrefs: // > sub_1000A79F0 @ 0x1000a7aac // // 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 11:04:10 +0000 // void __fastcall sub_1003CFD70(__int64 a1, int *a2) { __int64 v4; // x21 char *CoinKey_1; // x23 __int64 v6; // x24 void *__p[2]; // [xsp+8h] [xbp-48h] BYREF char v8; // [xsp+1Fh] [xbp-31h] if ( a2[241] >= 1 && a2[242] - a2[243] == 1 ) { v4 = 1; do { CoinKey_1 = (char *)GJGameLevel::getCoinKey_1((__int64)a2, v4); if ( (unsigned int)GameStatsManager::hasPendingUserCoin(a1, CoinKey_1) ) { if ( (GameStatsManager::hasUserCoin(a1, CoinKey_1) & 1) == 0 ) { GameStatsManager::storeUserCoin(a1, CoinKey_1); GameStatsManager::incrementStat(a1, "12", 1); } v6 = *(_QWORD *)(a1 + 624); sub_100009900(__p, CoinKey_1); cocos2d::CCDictionary::removeObjectForKey(v6, (char *)__p); if ( v8 < 0 ) operator delete(__p[0]); } v4 = (unsigned int)(v4 + 1); } while ( (_DWORD)v4 != 4 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source