{"type": "func", "start": 440440, "end": 440490, "name": "sub_6B878", "pseudocode": "// \n// sub_6B878 from 0x6b878 to 0x6b8aa (50 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_6B878(int a1)\n{\n  int v2; // r0\n  int v3; // r0\n  int (__fastcall ***v4)(_DWORD); // r0\n  int result; // r0\n\n  v2 = *(_DWORD *)(a1 + 368);\n  if ( !v2 )\n    return 28;\n  v3 = *(_DWORD *)(v2 + 71940);\n  if ( v3 && (v4 = sub_526EC(v3, 10)) != nullptr )\n    result = sub_6C474(v4, *(_DWORD *)(a1 + 424));\n  else\n    result = 0;\n  *(_DWORD *)(a1 + 424) = 0;\n  return result;\n}", "assembly": "; \n; sub_6B878 from 0x6b878 to 0x6b8aa (50 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,R5,R7,LR}                                          ; +0x0, 0x6b878\nADD             R7, SP, #8                                             ; +0x2, 0x6b87a\nMOV             R4, R0                                                 ; +0x4, 0x6b87c\nLDR.W           R0, [R0,#0x170]                                        ; +0x6, 0x6b87e\nCBZ             R0, loc_6B89E                                          ; +0xa, 0x6b882\nLDR             R1, =0x11904                                           ; +0xc, 0x6b884\nMOVS            R5, #0                                                 ; +0xe, 0x6b886\nLDR             R0, [R0,R1]                                            ; +0x10, 0x6b888\nCBZ             R0, loc_6B8A2                                          ; +0x12, 0x6b88a\nMOVS            R1, #0xA                                               ; +0x14, 0x6b88c\nBL              sub_526EC                                              ; +0x16, 0x6b88e\nCBZ             R0, loc_6B8A2                                          ; +0x1a, 0x6b892\nLDR.W           R1, [R4,#0x1A8]                                        ; +0x1c, 0x6b894\nBL              sub_6C474                                              ; +0x20, 0x6b898\nB               loc_6B8A4                                              ; +0x24, 0x6b89c\nMOVS            R0, #0x1C                                              ; +0x26, 0x6b89e\nPOP             {R4,R5,R7,PC}                                          ; +0x28, 0x6b8a0\nMOVS            R0, #0                                                 ; +0x2a, 0x6b8a2\nSTR.W           R5, [R4,#0x1A8]                                        ; +0x2c, 0x6b8a4\nPOP             {R4,R5,R7,PC}                                          ; +0x30, 0x6b8a8", "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"}