// // sub_1003850CC from 0x1003850cc to 0x100385190 (196 bytes) // // 2 xrefs: // > SecretRewardsLayer::init @ 0x100384480 // > SecretRewardsLayer::onGoldChest @ 0x100384fcc // // 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:03:32 +0000 // __int64 __fastcall sub_1003850CC(__int64 a1) { __int64 v2; // x0 __int64 v3; // x20 __int64 v4; // x0 int v5; // w21 __int64 v6; // x22 void *v7; // x0 __int64 CString; // x0 __int64 v9; // x0 _WORD v11[3]; // [xsp+18h] [xbp-28h] BYREF char v12; // [xsp+1Eh] [xbp-22h] v2 = GameStatsManager::sharedState(a1); v3 = GameStatsManager::countUnlockedSecretChests(v2, 9); v4 = GameStatsManager::sharedState(v3); v5 = GameStatsManager::countSecretChests(v4, 9); v6 = *(_QWORD *)(a1 + 456); v7 = sub_1003065B0("%i / %i", v3, v5); CString = cocos2d::CCString::getCString((__int64)v7); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 928LL))(v6, CString); v9 = *(_QWORD *)(a1 + 456); if ( (int)v3 >= v5 ) { v12 = 50; v11[2] = -206; } else { qmemcpy(v11, "dWp", 3); } return (*(__int64 (**)(void))(*(_QWORD *)v9 + 1072LL))(); }
GD Web Decomp Icon

GD Web Decomp

Raw Source