{"type": "func", "start": 4295687080, "end": 4295687160, "name": "GJMapPack::init", "pseudocode": "// \n// GJMapPack::init from 0x1000afba8 to 0x1000afbf8 (80 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10077f950\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 GJMapPack::init(GJMapPack *a1)\n{\n  int v2; // w9\n\n  std::string::assign((std::string *)&a1->m_packName, \"\");\n  v2 = dword_10086AE4C;\n  a1->m_MId = dword_10086AE4C;\n  dword_10086AE4C = v2 + 1;\n  a1->m_levels = nullptr;\n  *(_QWORD *)&a1->m_stars = 0;\n  a1->m_packID = 0;\n  return 1;\n}", "assembly": "; \n; GJMapPack::init from 0x1000afba8 to 0x1000afbf8 (80 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10077f950\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000afba8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000afbac\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000afbb0\nMOV             X19, X0                                                ; +0xc, 0x1000afbb4\nADRL            X1, asc_100746688; \"\"                                  ; +0x10, 0x1000afbb8\nADD             X0, X0, #0x158; this                                   ; +0x18, 0x1000afbc0\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x1c, 0x1000afbc4\nADRP            X8, #dword_10086AE4C@PAGE                              ; +0x20, 0x1000afbc8\nLDR             W9, [X8,#dword_10086AE4C@PAGEOFF]                      ; +0x24, 0x1000afbcc\nSTR             W9, [X19,#0x190]                                       ; +0x28, 0x1000afbd0\nADD             W9, W9, #1                                             ; +0x2c, 0x1000afbd4\nSTR             W9, [X8,#dword_10086AE4C@PAGEOFF]                      ; +0x30, 0x1000afbd8\nSTR             XZR, [X19,#0x140]                                      ; +0x34, 0x1000afbdc\nSTR             XZR, [X19,#0x150]                                      ; +0x38, 0x1000afbe0\nSTR             WZR, [X19,#0x148]                                      ; +0x3c, 0x1000afbe4\nMOV             W0, #1                                                 ; +0x40, 0x1000afbe8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x1000afbec\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x1000afbf0\nRET                                                                    ; +0x4c, 0x1000afbf4", "xrefs": ["<???> @ 0x10077f950"], "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"}