{"type": "func", "start": 4298964596, "end": 4298964680, "name": "GameStatsManager::hasPendingUserCoin", "pseudocode": "// \n// GameStatsManager::hasPendingUserCoin from 0x1003cfe74 to 0x1003cfec8 (84 bytes)\n// \n// 8 xrefs:\n// > LevelInfoLayer::updateLabelValues @ 0x10002d40c\n// > sub_1000BD74C @ 0x1000bda78\n// > LevelCell::loadCustomLevelCell @ 0x100135018\n// > PauseLayer::customSetup @ 0x1001beddc\n// > GJBaseGameLayer::hasUniqueCoin @ 0x100284f04\n// > GJBaseGameLayer::processItems @ 0x1002856a8\n// > EndLevelLayer::customSetup @ 0x100393348\n// > sub_1003CFD70 @ 0x1003cfdd4\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:04:10 +0000\n// \n\nbool __fastcall GameStatsManager::hasPendingUserCoin(__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 + 624);\n  sub_100009900(__p, a2);\n  v3 = cocos2d::CCDictionary::objectForKey(v2, __p);\n  if ( v6 < 0 )\n    operator delete(__p[0]);\n  return v3 != 0;\n}", "assembly": "; \n; GameStatsManager::hasPendingUserCoin from 0x1003cfe74 to 0x1003cfec8 (84 bytes)\n; \n; 8 xrefs:\n; > LevelInfoLayer::updateLabelValues @ 0x10002d40c\n; > sub_1000BD74C @ 0x1000bda78\n; > LevelCell::loadCustomLevelCell @ 0x100135018\n; > PauseLayer::customSetup @ 0x1001beddc\n; > GJBaseGameLayer::hasUniqueCoin @ 0x100284f04\n; > GJBaseGameLayer::processItems @ 0x1002856a8\n; > EndLevelLayer::customSetup @ 0x100393348\n; > sub_1003CFD70 @ 0x1003cfdd4\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:04:10 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1003cfe74\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1003cfe78\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1003cfe7c\nADD             X29, SP, #0x30                                         ; +0xc, 0x1003cfe80\nLDR             X19, [X0,#0x270]                                       ; +0x10, 0x1003cfe84\nADD             X0, SP, #0x30+__p; int                                 ; +0x14, 0x1003cfe88\nBL              sub_100009900                                          ; +0x18, 0x1003cfe8c\nADD             X1, SP, #0x30+__p                                      ; +0x1c, 0x1003cfe90\nMOV             X0, X19                                                ; +0x20, 0x1003cfe94\nBL              cocos2d__CCDictionary__objectForKey                    ; +0x24, 0x1003cfe98\nMOV             X19, X0                                                ; +0x28, 0x1003cfe9c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x2c, 0x1003cfea0\nTBZ             W8, #0x1F, loc_1003CFEB0                               ; +0x30, 0x1003cfea4\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x34, 0x1003cfea8\nBL              __ZdlPv; operator delete(void *)                       ; +0x38, 0x1003cfeac\nCMP             X19, #0                                                ; +0x3c, 0x1003cfeb0\nCSET            W0, NE                                                 ; +0x40, 0x1003cfeb4\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x44, 0x1003cfeb8\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x48, 0x1003cfebc\nADD             SP, SP, #0x40 ; '@'                                    ; +0x4c, 0x1003cfec0\nRET                                                                    ; +0x50, 0x1003cfec4", "xrefs": ["LevelInfoLayer::updateLabelValues @ 0x10002d40c", "sub_1000BD74C @ 0x1000bda78", "LevelCell::loadCustomLevelCell @ 0x100135018", "PauseLayer::customSetup @ 0x1001beddc", "GJBaseGameLayer::hasUniqueCoin @ 0x100284f04", "GJBaseGameLayer::processItems @ 0x1002856a8", "EndLevelLayer::customSetup @ 0x100393348", "sub_1003CFD70 @ 0x1003cfdd4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}