{"type": "func", "start": 5370219648, "end": 5370219729, "name": "GJMapPack::init", "pseudocode": "// \n// GJMapPack::init from 0x140170c80 to 0x140170cd1 (81 bytes)\n// \n// 4 xrefs:\n// > GJMapPack::create @ 0x140170689\n// > GJMapPack::create @ 0x14017067a\n// > <???> @ 0x14055c028\n// > <???> @ 0x1406cae84\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 v2; // eax\n\n  sub_14003CCE0((void **)&a1->m_packName, byte_140518980, 0);\n  v2 = dword_1406C2ED0;\n  a1->m_MId = dword_1406C2ED0;\n  dword_1406C2ED0 = 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 0x140170c80 to 0x140170cd1 (81 bytes)\n; \n; 4 xrefs:\n; > GJMapPack::create @ 0x140170689\n; > GJMapPack::create @ 0x14017067a\n; > <???> @ 0x14055c028\n; > <???> @ 0x1406cae84\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\npush    rbx                                                            ; +0x0, 0x140170c80\nsub     rsp, 20h                                                       ; +0x2, 0x140170c82\nmov     rbx, rcx                                                       ; +0x6, 0x140170c86\nlea     rdx, byte_140518980; Src                                       ; +0x9, 0x140170c89\nadd     rcx, 158h; void *                                              ; +0x10, 0x140170c90\nxor     r8d, r8d; Size                                                 ; +0x17, 0x140170c97\ncall    sub_14003CCE0                                                  ; +0x1a, 0x140170c9a\nmov     eax, cs:dword_1406C2ED0                                        ; +0x1f, 0x140170c9f\nmov     [rbx+1A0h], eax                                                ; +0x25, 0x140170ca5\ninc     eax                                                            ; +0x2b, 0x140170cab\nmov     cs:dword_1406C2ED0, eax                                        ; +0x2d, 0x140170cad\nxor     eax, eax                                                       ; +0x33, 0x140170cb3\nmov     [rbx+140h], rax                                                ; +0x35, 0x140170cb5\nmov     [rbx+150h], rax                                                ; +0x3c, 0x140170cbc\nmov     [rbx+148h], eax                                                ; +0x43, 0x140170cc3\nmov     al, 1                                                          ; +0x49, 0x140170cc9\nadd     rsp, 20h                                                       ; +0x4b, 0x140170ccb\npop     rbx                                                            ; +0x4f, 0x140170ccf\nretn                                                                   ; +0x50, 0x140170cd0", "xrefs": ["GJMapPack::create @ 0x140170689", "GJMapPack::create @ 0x14017067a", "<???> @ 0x14055c028", "<???> @ 0x1406cae84"], "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"}