{"type": "func", "start": 438304, "end": 438382, "name": "sub_6B020", "pseudocode": "// \n// sub_6B020 from 0x6b020 to 0x6b06e (78 bytes)\n// \n// 2 xrefs:\n// > sub_5215C @ 0x521d0\n// > sub_522EC @ 0x5234c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:40:58 +0000\n// \n\nint __fastcall sub_6B020(int a1)\n{\n  int i; // r0\n\n  *(_DWORD *)a1 = a1;\n  *(_DWORD *)(a1 + 4) = a1;\n  *(_DWORD *)(a1 + 8) = 0;\n  sub_BE62C(a1 + 24);\n  sub_BE62C(a1 + 324);\n  *(_BYTE *)(a1 + 624) = 0;\n  *(_DWORD *)(a1 + 12) = 0;\n  *(_DWORD *)(a1 + 16) = -1;\n  *(_DWORD *)(a1 + 20) = 0;\n  memset((void *)(a1 + 628), 0, 0x268u);\n  for ( i = 628; i != 1140; i += 16 )\n    *(_BYTE *)(a1 + i) = -1;\n  return a1;\n}", "assembly": "; \n; sub_6B020 from 0x6b020 to 0x6b06e (78 bytes)\n; \n; 2 xrefs:\n; > sub_5215C @ 0x521d0\n; > sub_522EC @ 0x5234c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:40:58 +0000\n; \nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0x6b020\nADD             R7, SP, #8                                             ; +0x2, 0x6b022\nMOVS            R5, #0                                                 ; +0x4, 0x6b024\nSTRD.W          R0, R0, [R0]                                           ; +0x6, 0x6b026\nMOV             R4, R0                                                 ; +0xa, 0x6b02a\nSTR             R5, [R0,#8]                                            ; +0xc, 0x6b02c\nADDS            R0, #0x18                                              ; +0xe, 0x6b02e\nBL              sub_BE62C                                              ; +0x10, 0x6b030\nADD.W           R0, R4, #0x144                                         ; +0x14, 0x6b034\nBL              sub_BE62C                                              ; +0x18, 0x6b038\nMOV.W           R0, #0xFFFFFFFF                                        ; +0x1c, 0x6b03c\nSTRB.W          R5, [R4,#0x270]                                        ; +0x20, 0x6b040\nSTRD.W          R5, R0, [R4,#0xC]                                      ; +0x24, 0x6b044\nADD.W           R0, R4, #0x274                                         ; +0x28, 0x6b048\nMOV.W           R1, #0x268                                             ; +0x2c, 0x6b04c\nSTR             R5, [R4,#0x14]                                         ; +0x30, 0x6b050\nBLX             __aeabi_memclr4                                        ; +0x32, 0x6b052\nMOV.W           R0, #0x274                                             ; +0x36, 0x6b056\nMOVW            R1, #0x474                                             ; +0x3a, 0x6b05a\nMOVS            R2, #0xFF                                              ; +0x3e, 0x6b05e\nCMP             R0, R1                                                 ; +0x40, 0x6b060\nBEQ             loc_6B06A                                              ; +0x42, 0x6b062\nSTRB            R2, [R4,R0]                                            ; +0x44, 0x6b064\nADDS            R0, #0x10                                              ; +0x46, 0x6b066\nB               loc_6B060                                              ; +0x48, 0x6b068\nMOV             R0, R4                                                 ; +0x4a, 0x6b06a\nPOP             {R4,R5,R7,PC}                                          ; +0x4c, 0x6b06c", "xrefs": ["sub_5215C @ 0x521d0", "sub_522EC @ 0x5234c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}