{"type": "func", "start": 4298318024, "end": 4298318128, "name": "GameStatsManager::storeSecretCoin", "pseudocode": "// \n// GameStatsManager::storeSecretCoin from 0x1003320c8 to 0x100332130 (104 bytes)\n// \n// 4 xrefs:\n// > GJBaseGameLayer::processItems @ 0x1001e9d78\n// > SecretLayer2::onSubmit @ 0x10030abf8\n// > SecretLayer::onSubmit @ 0x1003be244\n// > LevelPage::ccTouchBegan @ 0x100405be0\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::storeSecretCoin(GameStatsManager *a1, const char *a2)\n{\n  cocos2d::CCDictionary *m_playerStats; // x19\n  cocos2d::CCString *m_trueString; // x20\n  cocos2d::CCString *v4; // x0\n  char *CString; // x0\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v7; // [xsp+1Fh] [xbp-11h]\n\n  m_playerStats = a1->m_playerStats;\n  m_trueString = a1->m_trueString;\n  v4 = (cocos2d::CCString *)sub_100268F4C(\"unique_%s\", a2);\n  CString = (char *)cocos2d::CCString::getCString(v4);\n  sub_100009900(__p, CString);\n  cocos2d::CCDictionary::setObject_1(m_playerStats, m_trueString, __p);\n  if ( v7 < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; GameStatsManager::storeSecretCoin from 0x1003320c8 to 0x100332130 (104 bytes)\n; \n; 4 xrefs:\n; > GJBaseGameLayer::processItems @ 0x1001e9d78\n; > SecretLayer2::onSubmit @ 0x10030abf8\n; > SecretLayer::onSubmit @ 0x1003be244\n; > LevelPage::ccTouchBegan @ 0x100405be0\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, 0x1003320c8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1003320cc\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1003320d0\nADD             X29, SP, #0x30                                         ; +0xc, 0x1003320d4\nLDR             X19, [X0,#0x208]                                       ; +0x10, 0x1003320d8\nLDR             X20, [X0,#0x140]                                       ; +0x14, 0x1003320dc\nSTR             X1, [SP,#0x30+var_30]                                  ; +0x18, 0x1003320e0\nADRL            X0, aUniqueS; \"unique_%s\"                              ; +0x1c, 0x1003320e4\nBL              sub_100268F4C                                          ; +0x24, 0x1003320ec\nBL              cocos2d__CCString__getCString                          ; +0x28, 0x1003320f0\nMOV             X1, X0; __s                                            ; +0x2c, 0x1003320f4\nADD             X0, SP, #0x30+__p; int                                 ; +0x30, 0x1003320f8\nBL              sub_100009900                                          ; +0x34, 0x1003320fc\nADD             X2, SP, #0x30+__p                                      ; +0x38, 0x100332100\nMOV             X0, X19                                                ; +0x3c, 0x100332104\nMOV             X1, X20                                                ; +0x40, 0x100332108\nBL              cocos2d__CCDictionary__setObject_1                     ; +0x44, 0x10033210c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x48, 0x100332110\nTBZ             W8, #0x1F, loc_100332120                               ; +0x4c, 0x100332114\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x50, 0x100332118\nBL              __ZdlPv; operator delete(void *)                       ; +0x54, 0x10033211c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x58, 0x100332120\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x5c, 0x100332124\nADD             SP, SP, #0x40 ; '@'                                    ; +0x60, 0x100332128\nRET                                                                    ; +0x64, 0x10033212c", "xrefs": ["GJBaseGameLayer::processItems @ 0x1001e9d78", "SecretLayer2::onSubmit @ 0x10030abf8", "SecretLayer::onSubmit @ 0x1003be244", "LevelPage::ccTouchBegan @ 0x100405be0"], "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"}