{"type": "func", "start": 4298334408, "end": 4298334504, "name": "GameStatsManager::isSpecialChestUnlocked", "pseudocode": "// \n// GameStatsManager::isSpecialChestUnlocked from 0x1003360c8 to 0x100336128 (96 bytes)\n// \n// 34 xrefs:\n// > SecretLayer5::claimOnlineReward @ 0x100076a00\n// > SecretLayer5::onlineRewardStatusFinished @ 0x100076c20\n// > GJShopLayer::showReactMessage @ 0x10014c9b8\n// > GJShopLayer::ccTouchBegan @ 0x10014d87c\n// > SupportLayer::customSetup @ 0x1001919d8\n// > GauntletNode::generateNode @ 0x1001c2124\n// > RewardsPage::init @ 0x1001c3dec\n// > RewardsPage::init @ 0x1001c3e14\n// > RewardsPage::init @ 0x1001c3e3c\n// > RewardsPage::init @ 0x1001c3e64\n// > RewardsPage::init @ 0x1001c3e8c\n// > RewardsPage::init @ 0x1001c3eb4\n// > SecretRewardsLayer::init @ 0x1002e8a30\n// > SecretRewardsLayer::init @ 0x1002e8f08\n// > SecretRewardsLayer::init @ 0x1002e8f44\n// > SecretLayer3::init @ 0x10030e9b4\n// > SecretLayer3::init @ 0x10030ebb8\n// > GameStatsManager::isItemUnlocked @ 0x10032fcf4\n// > GameStatsManager::isGauntletChestUnlocked @ 0x100335fd0\n// > GameStatsManager::unlockSpecialChest @ 0x1003368c0\n// > GameStatsManager::isPathChestUnlocked @ 0x100336ad8\n// > SecretLayer4::init @ 0x100354664\n// > FollowRewardPage::init @ 0x100424b74\n// > FollowRewardPage::init @ 0x100424c4c\n// > FollowRewardPage::init @ 0x100424d14\n// > FollowRewardPage::init @ 0x100424de0\n// > FollowRewardPage::init @ 0x100424eac\n// > FollowRewardPage::init @ 0x100424f78\n// > FollowRewardPage::updateRate @ 0x100425b64\n// > FollowRewardPage::updateRate @ 0x100425bb4\n// > FollowRewardPage::updateRate @ 0x100425bec\n// > FollowRewardPage::updateRate @ 0x100425c28\n// > FollowRewardPage::updateRate @ 0x100425c60\n// > FollowRewardPage::updateRate @ 0x100425c98\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool __fastcall GameStatsManager::isSpecialChestUnlocked(__int64 a1, char *a2)\n{\n  __int64 v2; // x19\n  __int64 v3; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  v2 = *(_QWORD *)(a1 + 776);\n  if ( a2[23] < 0 )\n    a2 = *(char **)a2;\n  sub_100009900(__p, a2);\n  v3 = cocos2d::CCDictionary::objectForKey_1(v2, __p);\n  if ( v6 < 0 )\n    operator delete(__p[0]);\n  return v3 != 0;\n}", "assembly": "; \n; GameStatsManager::isSpecialChestUnlocked from 0x1003360c8 to 0x100336128 (96 bytes)\n; \n; 34 xrefs:\n; > SecretLayer5::claimOnlineReward @ 0x100076a00\n; > SecretLayer5::onlineRewardStatusFinished @ 0x100076c20\n; > GJShopLayer::showReactMessage @ 0x10014c9b8\n; > GJShopLayer::ccTouchBegan @ 0x10014d87c\n; > SupportLayer::customSetup @ 0x1001919d8\n; > GauntletNode::generateNode @ 0x1001c2124\n; > RewardsPage::init @ 0x1001c3dec\n; > RewardsPage::init @ 0x1001c3e14\n; > RewardsPage::init @ 0x1001c3e3c\n; > RewardsPage::init @ 0x1001c3e64\n; > RewardsPage::init @ 0x1001c3e8c\n; > RewardsPage::init @ 0x1001c3eb4\n; > SecretRewardsLayer::init @ 0x1002e8a30\n; > SecretRewardsLayer::init @ 0x1002e8f08\n; > SecretRewardsLayer::init @ 0x1002e8f44\n; > SecretLayer3::init @ 0x10030e9b4\n; > SecretLayer3::init @ 0x10030ebb8\n; > GameStatsManager::isItemUnlocked @ 0x10032fcf4\n; > GameStatsManager::isGauntletChestUnlocked @ 0x100335fd0\n; > GameStatsManager::unlockSpecialChest @ 0x1003368c0\n; > GameStatsManager::isPathChestUnlocked @ 0x100336ad8\n; > SecretLayer4::init @ 0x100354664\n; > FollowRewardPage::init @ 0x100424b74\n; > FollowRewardPage::init @ 0x100424c4c\n; > FollowRewardPage::init @ 0x100424d14\n; > FollowRewardPage::init @ 0x100424de0\n; > FollowRewardPage::init @ 0x100424eac\n; > FollowRewardPage::init @ 0x100424f78\n; > FollowRewardPage::updateRate @ 0x100425b64\n; > FollowRewardPage::updateRate @ 0x100425bb4\n; > FollowRewardPage::updateRate @ 0x100425bec\n; > FollowRewardPage::updateRate @ 0x100425c28\n; > FollowRewardPage::updateRate @ 0x100425c60\n; > FollowRewardPage::updateRate @ 0x100425c98\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             SP, SP, #0x40                                          ; +0x0, 0x1003360c8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1003360cc\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1003360d0\nADD             X29, SP, #0x30                                         ; +0xc, 0x1003360d4\nLDR             X19, [X0,#0x308]                                       ; +0x10, 0x1003360d8\nLDRSB           W8, [X1,#0x17]                                         ; +0x14, 0x1003360dc\nTBZ             W8, #0x1F, loc_1003360E8                               ; +0x18, 0x1003360e0\nLDR             X1, [X1]; __s                                          ; +0x1c, 0x1003360e4\nADD             X0, SP, #0x30+__p; int                                 ; +0x20, 0x1003360e8\nBL              sub_100009900                                          ; +0x24, 0x1003360ec\nADD             X1, SP, #0x30+__p                                      ; +0x28, 0x1003360f0\nMOV             X0, X19                                                ; +0x2c, 0x1003360f4\nBL              cocos2d__CCDictionary__objectForKey_1                  ; +0x30, 0x1003360f8\nMOV             X19, X0                                                ; +0x34, 0x1003360fc\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x38, 0x100336100\nTBZ             W8, #0x1F, loc_100336110                               ; +0x3c, 0x100336104\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x40, 0x100336108\nBL              __ZdlPv; operator delete(void *)                       ; +0x44, 0x10033610c\nCMP             X19, #0                                                ; +0x48, 0x100336110\nCSET            W0, NE                                                 ; +0x4c, 0x100336114\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x50, 0x100336118\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x54, 0x10033611c\nADD             SP, SP, #0x40 ; '@'                                    ; +0x58, 0x100336120\nRET                                                                    ; +0x5c, 0x100336124", "xrefs": ["SecretLayer5::claimOnlineReward @ 0x100076a00", "SecretLayer5::onlineRewardStatusFinished @ 0x100076c20", "GJShopLayer::showReactMessage @ 0x10014c9b8", "GJShopLayer::ccTouchBegan @ 0x10014d87c", "SupportLayer::customSetup @ 0x1001919d8", "GauntletNode::generateNode @ 0x1001c2124", "RewardsPage::init @ 0x1001c3dec", "RewardsPage::init @ 0x1001c3e14", "RewardsPage::init @ 0x1001c3e3c", "RewardsPage::init @ 0x1001c3e64", "RewardsPage::init @ 0x1001c3e8c", "RewardsPage::init @ 0x1001c3eb4", "SecretRewardsLayer::init @ 0x1002e8a30", "SecretRewardsLayer::init @ 0x1002e8f08", "SecretRewardsLayer::init @ 0x1002e8f44", "SecretLayer3::init @ 0x10030e9b4", "SecretLayer3::init @ 0x10030ebb8", "GameStatsManager::isItemUnlocked @ 0x10032fcf4", "GameStatsManager::isGauntletChestUnlocked @ 0x100335fd0", "GameStatsManager::unlockSpecialChest @ 0x1003368c0", "GameStatsManager::isPathChestUnlocked @ 0x100336ad8", "SecretLayer4::init @ 0x100354664", "FollowRewardPage::init @ 0x100424b74", "FollowRewardPage::init @ 0x100424c4c", "FollowRewardPage::init @ 0x100424d14", "FollowRewardPage::init @ 0x100424de0", "FollowRewardPage::init @ 0x100424eac", "FollowRewardPage::init @ 0x100424f78", "FollowRewardPage::updateRate @ 0x100425b64", "FollowRewardPage::updateRate @ 0x100425bb4", "FollowRewardPage::updateRate @ 0x100425bec", "FollowRewardPage::updateRate @ 0x100425c28", "FollowRewardPage::updateRate @ 0x100425c60", "FollowRewardPage::updateRate @ 0x100425c98"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}