{"type": "func", "start": 4298266168, "end": 4298266304, "name": "GameStatsManager::init", "pseudocode": "// \n// GameStatsManager::init from 0x100325638 to 0x1003256c0 (136 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1007f0128\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::init(GameStatsManager *a1)\n{\n  cocos2d::CCString *v2; // x0\n  cocos2d::CCDictionary *v3; // x0\n  cocos2d::CCDictionary *v4; // x0\n\n  v2 = (cocos2d::CCString *)sub_100268F4C(\"%i\", 1);\n  a1->m_trueString = v2;\n  cocos2d::CCObject::retain(v2);\n  v3 = cocos2d::CCDictionary::create();\n  a1->m_unkDict = v3;\n  cocos2d::CCObject::retain(v3);\n  v4 = cocos2d::CCDictionary::create();\n  sub_1003256C0(a1, v4);\n  GameStatsManager::setupIconCredits(a1);\n  GameStatsManager::createStoreItems(a1);\n  GameStatsManager::createSecretChestItems(a1);\n  GameStatsManager::createSpecialChestItems(a1);\n  GameStatsManager::generateItemUnlockableData(a1);\n  return 1;\n}", "assembly": "; \n; GameStatsManager::init from 0x100325638 to 0x1003256c0 (136 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1007f0128\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, #0x30                                          ; +0x0, 0x100325638\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10032563c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100325640\nADD             X29, SP, #0x20                                         ; +0xc, 0x100325644\nMOV             X19, X0                                                ; +0x10, 0x100325648\nMOV             W8, #1                                                 ; +0x14, 0x10032564c\nSTR             X8, [SP,#0x20+var_20]                                  ; +0x18, 0x100325650\nADRL            X0, aI; \"%i\"                                           ; +0x1c, 0x100325654\nBL              sub_100268F4C                                          ; +0x24, 0x10032565c\nSTR             X0, [X19,#0x140]                                       ; +0x28, 0x100325660\nBL              cocos2d__CCObject__retain                              ; +0x2c, 0x100325664\nBL              cocos2d__CCDictionary__create                          ; +0x30, 0x100325668\nSTR             X0, [X19,#0x330]                                       ; +0x34, 0x10032566c\nBL              cocos2d__CCObject__retain                              ; +0x38, 0x100325670\nBL              cocos2d__CCDictionary__create                          ; +0x3c, 0x100325674\nMOV             X1, X0                                                 ; +0x40, 0x100325678\nMOV             X0, X19                                                ; +0x44, 0x10032567c\nBL              sub_1003256C0                                          ; +0x48, 0x100325680\nMOV             X0, X19                                                ; +0x4c, 0x100325684\nBL              GameStatsManager__setupIconCredits                     ; +0x50, 0x100325688\nMOV             X0, X19                                                ; +0x54, 0x10032568c\nBL              GameStatsManager__createStoreItems                     ; +0x58, 0x100325690\nMOV             X0, X19                                                ; +0x5c, 0x100325694\nBL              GameStatsManager__createSecretChestItems               ; +0x60, 0x100325698\nMOV             X0, X19                                                ; +0x64, 0x10032569c\nBL              GameStatsManager__createSpecialChestItems              ; +0x68, 0x1003256a0\nMOV             X0, X19                                                ; +0x6c, 0x1003256a4\nBL              GameStatsManager__generateItemUnlockableData           ; +0x70, 0x1003256a8\nMOV             W0, #1                                                 ; +0x74, 0x1003256ac\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x78, 0x1003256b0\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x7c, 0x1003256b4\nADD             SP, SP, #0x30 ; '0'                                    ; +0x80, 0x1003256b8\nRET                                                                    ; +0x84, 0x1003256bc", "xrefs": ["<???> @ 0x1007f0128"], "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"}