{"type": "func", "start": 4298317808, "end": 4298317888, "name": "GameStatsManager::storeUserCoin", "pseudocode": "// \n// GameStatsManager::storeUserCoin from 0x100331ff0 to 0x100332040 (80 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::processItems @ 0x1001e9d98\n// > GameStatsManager::checkCoinsForLevel @ 0x100331e90\n// > GameStatsManager::dataLoaded @ 0x10033f428\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\nvoid __fastcall GameStatsManager::storeUserCoin(GameStatsManager *a1, const char *a2)\n{\n  cocos2d::CCDictionary *m_verifiedUserCoins; // x19\n  cocos2d::CCString *m_trueString; // x20\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  m_verifiedUserCoins = a1->m_verifiedUserCoins;\n  m_trueString = a1->m_trueString;\n  sub_100009900(__p, (char *)a2);\n  cocos2d::CCDictionary::setObject_1(m_verifiedUserCoins, m_trueString, __p);\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; GameStatsManager::storeUserCoin from 0x100331ff0 to 0x100332040 (80 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::processItems @ 0x1001e9d98\n; > GameStatsManager::checkCoinsForLevel @ 0x100331e90\n; > GameStatsManager::dataLoaded @ 0x10033f428\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, 0x100331ff0\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100331ff4\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100331ff8\nADD             X29, SP, #0x30                                         ; +0xc, 0x100331ffc\nLDR             X19, [X0,#0x268]                                       ; +0x10, 0x100332000\nLDR             X20, [X0,#0x140]                                       ; +0x14, 0x100332004\nADD             X0, SP, #0x30+__p; int                                 ; +0x18, 0x100332008\nBL              sub_100009900                                          ; +0x1c, 0x10033200c\nADD             X2, SP, #0x30+__p                                      ; +0x20, 0x100332010\nMOV             X0, X19                                                ; +0x24, 0x100332014\nMOV             X1, X20                                                ; +0x28, 0x100332018\nBL              cocos2d__CCDictionary__setObject_1                     ; +0x2c, 0x10033201c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x30, 0x100332020\nTBZ             W8, #0x1F, loc_100332030                               ; +0x34, 0x100332024\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x38, 0x100332028\nBL              __ZdlPv; operator delete(void *)                       ; +0x3c, 0x10033202c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x40, 0x100332030\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x44, 0x100332034\nADD             SP, SP, #0x40 ; '@'                                    ; +0x48, 0x100332038\nRET                                                                    ; +0x4c, 0x10033203c", "xrefs": ["GJBaseGameLayer::processItems @ 0x1001e9d98", "GameStatsManager::checkCoinsForLevel @ 0x100331e90", "GameStatsManager::dataLoaded @ 0x10033f428"], "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"}