{"type": "func", "start": 4298964820, "end": 4298964900, "name": "GameStatsManager::storeUserCoin", "pseudocode": "// \n// GameStatsManager::storeUserCoin from 0x1003cff54 to 0x1003cffa4 (80 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::processItems @ 0x100285708\n// > sub_1003CFD70 @ 0x1003cfdf4\n// > GameStatsManager::dataLoaded @ 0x1003ddcf4\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\nvoid __fastcall GameStatsManager::storeUserCoin(__int64 a1, char *a2)\n{\n  __int64 v2; // x19\n  __int64 v3; // x20\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  v2 = *(_QWORD *)(a1 + 616);\n  v3 = *(_QWORD *)(a1 + 320);\n  sub_100009900(__p, a2);\n  cocos2d::CCDictionary::setObject(v2, v3, __p);\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; GameStatsManager::storeUserCoin from 0x1003cff54 to 0x1003cffa4 (80 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::processItems @ 0x100285708\n; > sub_1003CFD70 @ 0x1003cfdf4\n; > GameStatsManager::dataLoaded @ 0x1003ddcf4\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, 0x1003cff54\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1003cff58\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1003cff5c\nADD             X29, SP, #0x30                                         ; +0xc, 0x1003cff60\nLDR             X19, [X0,#0x268]                                       ; +0x10, 0x1003cff64\nLDR             X20, [X0,#0x140]                                       ; +0x14, 0x1003cff68\nADD             X0, SP, #0x30+__p; int                                 ; +0x18, 0x1003cff6c\nBL              sub_100009900                                          ; +0x1c, 0x1003cff70\nADD             X2, SP, #0x30+__p                                      ; +0x20, 0x1003cff74\nMOV             X0, X19                                                ; +0x24, 0x1003cff78\nMOV             X1, X20                                                ; +0x28, 0x1003cff7c\nBL              cocos2d__CCDictionary__setObject                       ; +0x2c, 0x1003cff80\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x30, 0x1003cff84\nTBZ             W8, #0x1F, loc_1003CFF94                               ; +0x34, 0x1003cff88\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x38, 0x1003cff8c\nBL              __ZdlPv; operator delete(void *)                       ; +0x3c, 0x1003cff90\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x40, 0x1003cff94\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x44, 0x1003cff98\nADD             SP, SP, #0x40 ; '@'                                    ; +0x48, 0x1003cff9c\nRET                                                                    ; +0x4c, 0x1003cffa0", "xrefs": ["GJBaseGameLayer::processItems @ 0x100285708", "sub_1003CFD70 @ 0x1003cfdf4", "GameStatsManager::dataLoaded @ 0x1003ddcf4"], "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"}