{"type": "func", "start": 3924036, "end": 3924088, "name": "GJMapPack::init", "pseudocode": "// \n// GJMapPack::init from 0x3be044 to 0x3be078 (52 bytes)\n// \n// 0 xrefs:\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; // r3\n\n  sub_7753D4((int)&a1->m_packName, (char *)&unk_939830);\n  v3 = dword_AC5F4C;\n  a1->m_MId = dword_AC5F4C;\n  dword_AC5F4C = v3 + 1;\n  a1->m_levels = nullptr;\n  a1->m_stars = 0;\n  a1->m_coins = 0;\n  a1->m_packID = 0;\n  return 1;\n}", "assembly": "; \n; GJMapPack::init from 0x3be044 to 0x3be078 (52 bytes)\n; \n; 0 xrefs:\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\nLDR             R1, =(unk_939830 - 0x3BE04C)                           ; +0x0, 0x3be044\nPUSH            {R4,LR}                                                ; +0x2, 0x3be046\nADD             R1, PC; unk_939830 ; char *                            ; +0x4, 0x3be048\nMOV             R4, R0                                                 ; +0x6, 0x3be04a\nADD.W           R0, R0, #0x11C; int                                    ; +0x8, 0x3be04c\nBL              sub_7753D4                                             ; +0xc, 0x3be050\nLDR             R2, =(dword_AC5F4C - 0x3BE05C)                         ; +0x10, 0x3be054\nMOVS            R0, #1                                                 ; +0x12, 0x3be056\nADD             R2, PC; dword_AC5F4C                                   ; +0x14, 0x3be058\nLDR             R3, [R2]                                               ; +0x16, 0x3be05a\nSTR.W           R3, [R4,#0x12C]                                        ; +0x18, 0x3be05c\nADDS            R3, #1                                                 ; +0x1c, 0x3be060\nSTR             R3, [R2]                                               ; +0x1e, 0x3be062\nMOVS            R3, #0                                                 ; +0x20, 0x3be064\nSTR.W           R3, [R4,#0x108]                                        ; +0x22, 0x3be066\nSTR.W           R3, [R4,#0x114]                                        ; +0x26, 0x3be06a\nSTR.W           R3, [R4,#0x118]                                        ; +0x2a, 0x3be06e\nSTR.W           R3, [R4,#0x10C]                                        ; +0x2e, 0x3be072\nPOP             {R4,PC}                                                ; +0x32, 0x3be076", "xrefs": [], "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"}