{"type": "func", "start": 440360, "end": 440434, "name": "sub_6B828", "pseudocode": "// \n// sub_6B828 from 0x6b828 to 0x6b872 (74 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\nint __fastcall sub_6B828(_DWORD *a1, int a2, _DWORD *a3)\n{\n  int v4; // r0\n  int v6; // r0\n  int (__fastcall ***v8)(_DWORD); // r0\n\n  *a3 = 0;\n  a1[105] = 0;\n  a1[106] = 0;\n  v4 = a1[92];\n  if ( !v4 )\n    return 28;\n  v6 = *(_DWORD *)(v4 + 71940);\n  if ( v6 && (v8 = sub_526EC(v6, 10)) != nullptr )\n    return sub_6BFE0(v8, a2, a3, a1 + 106);\n  else\n    return 18;\n}", "assembly": "; \n; sub_6B828 from 0x6b828 to 0x6b872 (74 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\nPUSH            {R4-R7,LR}                                             ; +0x0, 0x6b828\nADD             R7, SP, #0xC                                           ; +0x2, 0x6b82a\nPUSH.W          {R11}                                                  ; +0x4, 0x6b82c\nMOV             R6, R0                                                 ; +0x8, 0x6b830\nMOVS            R0, #0                                                 ; +0xa, 0x6b832\nSTR             R0, [R2]                                               ; +0xc, 0x6b834\nSTRD.W          R0, R0, [R6,#0x1A4]                                    ; +0xe, 0x6b836\nLDR.W           R0, [R6,#0x170]                                        ; +0x12, 0x6b83a\nCBZ             R0, loc_6B866                                          ; +0x16, 0x6b83e\nMOV             R5, R1                                                 ; +0x18, 0x6b840\nLDR             R1, =0x11904                                           ; +0x1a, 0x6b842\nLDR             R0, [R0,R1]                                            ; +0x1c, 0x6b844\nCBZ             R0, loc_6B86A                                          ; +0x1e, 0x6b846\nMOVS            R1, #0xA                                               ; +0x20, 0x6b848\nMOV             R4, R2                                                 ; +0x22, 0x6b84a\nBL              sub_526EC                                              ; +0x24, 0x6b84c\nCBZ             R0, loc_6B86A                                          ; +0x28, 0x6b850\nADD.W           R3, R6, #0x1A8                                         ; +0x2a, 0x6b852\nMOV             R1, R5                                                 ; +0x2e, 0x6b856\nMOV             R2, R4                                                 ; +0x30, 0x6b858\nPOP.W           {R11}                                                  ; +0x32, 0x6b85a\nPOP.W           {R4-R7,LR}                                             ; +0x36, 0x6b85e\nB.W             sub_6BFE0                                              ; +0x3a, 0x6b862\nMOVS            R0, #0x1C                                              ; +0x3e, 0x6b866\nB               loc_6B86C                                              ; +0x40, 0x6b868\nMOVS            R0, #0x12                                              ; +0x42, 0x6b86a\nPOP.W           {R11}                                                  ; +0x44, 0x6b86c\nPOP             {R4-R7,PC}                                             ; +0x48, 0x6b870", "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"}