{"type": "func", "start": 518264, "end": 518392, "name": "sub_7E878", "pseudocode": "// \n// sub_7E878 from 0x7e878 to 0x7e8f8 (128 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x114c60\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\n__int64 __fastcall sub_7E878(__int64 *a1, int a2, int a3)\n{\n  __int64 v3; // x8\n\n  v3 = *a1;\n  if ( (unsigned int)(a2 - 33) > 0x1F )\n  {\n    if ( a2 )\n    {\n      return 31;\n    }\n    else\n    {\n      *(_DWORD *)(v3 + 9304) = a3;\n      return 0;\n    }\n  }\n  else\n  {\n    *(_DWORD *)(v3 + 4LL * (a2 - 33) + 9308) = a3;\n    return 0;\n  }\n}", "assembly": "; \n; sub_7E878 from 0x7e878 to 0x7e8f8 (128 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x114c60\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             X8, [X0]                                               ; +0x0, 0x7e878\nSUB             W9, W1, #0x21 ; '!'                                    ; +0x4, 0x7e87c\nCMP             W9, #0x1F                                              ; +0x8, 0x7e880\nB.HI            loc_7E88C                                              ; +0xc, 0x7e884\nB               loc_7E8D4                                              ; +0x10, 0x7e888\nCBZ             W1, loc_7E894                                          ; +0x14, 0x7e88c\nB               loc_7E8E4                                              ; +0x18, 0x7e890\nB               loc_7E8EC                                              ; +0x1c, 0x7e894\nLDR             X0, [X0]                                               ; +0x20, 0x7e898\nB               sub_7E74C                                              ; +0x24, 0x7e89c\nSUB             W9, W1, #1                                             ; +0x28, 0x7e8a0\nCMP             W9, #0x1F                                              ; +0x2c, 0x7e8a4\nB.HI            loc_7E8B8                                              ; +0x30, 0x7e8a8\nMOV             X8, X0                                                 ; +0x34, 0x7e8ac\nLDR             X8, [X8]                                               ; +0x38, 0x7e8b0\nB               loc_7E8C4                                              ; +0x3c, 0x7e8b4\nB               loc_7E8E4                                              ; +0x40, 0x7e8b8\nLDR             X0, [X0]                                               ; +0x44, 0x7e8bc\nB               sub_7E6F0                                              ; +0x48, 0x7e8c0\nMOV             W0, WZR                                                ; +0x4c, 0x7e8c4\nADD             X8, X8, W9,SXTW#2                                      ; +0x50, 0x7e8c8\nSTR             S0, [X8,#0x23D8]                                       ; +0x54, 0x7e8cc\nRET                                                                    ; +0x58, 0x7e8d0\nMOV             W0, WZR                                                ; +0x5c, 0x7e8d4\nADD             X8, X8, W9,SXTW#2                                      ; +0x60, 0x7e8d8\nSTR             W2, [X8,#0x245C]                                       ; +0x64, 0x7e8dc\nRET                                                                    ; +0x68, 0x7e8e0\nMOV             W0, #0x1F                                              ; +0x6c, 0x7e8e4\nRET                                                                    ; +0x70, 0x7e8e8\nMOV             W0, WZR                                                ; +0x74, 0x7e8ec\nSTR             W2, [X8,#0x2458]                                       ; +0x78, 0x7e8f0\nRET                                                                    ; +0x7c, 0x7e8f4", "xrefs": ["<???> @ 0x114c60"], "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"}