{"type": "func", "start": 7265644, "end": 7265732, "name": "GJMapPack::init", "pseudocode": "// \n// GJMapPack::init from 0x6edd6c to 0x6eddc4 (88 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x396c0\n// > <???> @ 0x115e740\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 GJMapPack::init(GJMapPack *a1)\n{\n  int v3; // w1\n\n  sub_D1798C(&a1->m_packName, &byte_F288A0, 0);\n  a1->m_levels = nullptr;\n  a1->m_stars = 0;\n  a1->m_coins = 0;\n  v3 = dword_1242358;\n  a1->m_MId = dword_1242358;\n  a1->m_packID = 0;\n  dword_1242358 = v3 + 1;\n  return 1;\n}", "assembly": "; \n; GJMapPack::init from 0x6edd6c to 0x6eddc4 (88 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x396c0\n; > <???> @ 0x115e740\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\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x6edd6c\nADRP            X1, #byte_F288A0@PAGE                                  ; +0x4, 0x6edd70\nMOV             X2, #0                                                 ; +0x8, 0x6edd74\nMOV             X29, SP                                                ; +0xc, 0x6edd78\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x10, 0x6edd7c\nADD             X1, X1, #byte_F288A0@PAGEOFF                           ; +0x14, 0x6edd80\nMOV             X19, X0                                                ; +0x18, 0x6edd84\nADD             X0, X0, #0x158                                         ; +0x1c, 0x6edd88\nBL              sub_D1798C                                             ; +0x20, 0x6edd8c\nADRP            X2, #dword_1242358@PAGE                                ; +0x24, 0x6edd90\nSTR             XZR, [X19,#0x140]                                      ; +0x28, 0x6edd94\nSTR             WZR, [X19,#0x150]                                      ; +0x2c, 0x6edd98\nMOV             W0, #1                                                 ; +0x30, 0x6edd9c\nSTR             WZR, [X19,#0x154]                                      ; +0x34, 0x6edda0\nLDR             W1, [X2,#dword_1242358@PAGEOFF]                        ; +0x38, 0x6edda4\nSTR             W1, [X19,#0x170]                                       ; +0x3c, 0x6edda8\nSTR             WZR, [X19,#0x148]                                      ; +0x40, 0x6eddac\nADD             W1, W1, #1                                             ; +0x44, 0x6eddb0\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x48, 0x6eddb4\nSTR             W1, [X2,#dword_1242358@PAGEOFF]                        ; +0x4c, 0x6eddb8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x50, 0x6eddbc\nRET                                                                    ; +0x54, 0x6eddc0", "xrefs": ["<???> @ 0x396c0", "<???> @ 0x115e740"], "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"}