{"type": "func", "start": 521912, "end": 522036, "name": "sub_7F6B8", "pseudocode": "// \n// sub_7F6B8 from 0x7f6b8 to 0x7f734 (124 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x114db0\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_7F6B8(__int64 *a1, int a2, int *a3, __int64 a4)\n{\n  __int64 v4; // x8\n  int v5; // w8\n\n  v4 = *a1;\n  if ( a2 == 2 )\n  {\n    v5 = *(_DWORD *)(v4 + 748);\n    *a3 = v5;\n    if ( a4 )\n      sub_E3FC8(a4, 32, \"%d\", v5);\n    return 0;\n  }\n  if ( a2 == 3 )\n  {\n    *a3 = *(_DWORD *)(v4 + 760);\n    if ( a4 )\n      sub_7FA3C();\n    return 0;\n  }\n  return 31;\n}", "assembly": "; \n; sub_7F6B8 from 0x7f6b8 to 0x7f734 (124 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x114db0\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x7f6b8\nLDR             X8, [X0]                                               ; +0x4, 0x7f6bc\nCMP             W1, #2                                                 ; +0x8, 0x7f6c0\nMOV             X29, SP                                                ; +0xc, 0x7f6c4\nB.EQ            loc_7F6FC                                              ; +0x10, 0x7f6c8\nCMP             W1, #3                                                 ; +0x14, 0x7f6cc\nB.NE            loc_7F728                                              ; +0x18, 0x7f6d0\nLDR             W8, [X8,#0x2F8]                                        ; +0x1c, 0x7f6d4\nSTR             W8, [X2]                                               ; +0x20, 0x7f6d8\nCBZ             X3, loc_7F720                                          ; +0x24, 0x7f6dc\nADRP            X9, #off_114CE8@PAGE; \"Receive\"                        ; +0x28, 0x7f6e0\nADD             W8, W8, #1                                             ; +0x2c, 0x7f6e4\nADD             X9, X9, #off_114CE8@PAGEOFF; \"Receive\"                 ; +0x30, 0x7f6e8\nADD             X8, X9, W8,SXTW#3                                      ; +0x34, 0x7f6ec\nLDR             X1, [X8,#0x10]                                         ; +0x38, 0x7f6f0\nBL              sub_7FA3C                                              ; +0x3c, 0x7f6f4\nB               loc_7F720                                              ; +0x40, 0x7f6f8\nLDR             W8, [X8,#0x2EC]                                        ; +0x44, 0x7f6fc\nSTR             W8, [X2]                                               ; +0x48, 0x7f700\nCBZ             X3, loc_7F720                                          ; +0x4c, 0x7f704\nADRL            X2, aD; \"%d\"                                           ; +0x50, 0x7f708\nMOV             W1, #0x20 ; ' '                                        ; +0x58, 0x7f710\nMOV             X0, X3                                                 ; +0x5c, 0x7f714\nMOV             W3, W8                                                 ; +0x60, 0x7f718\nBL              sub_E3FC8                                              ; +0x64, 0x7f71c\nMOV             W0, WZR                                                ; +0x68, 0x7f720\nB               loc_7F72C                                              ; +0x6c, 0x7f724\nMOV             W0, #0x1F                                              ; +0x70, 0x7f728\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x74, 0x7f72c\nRET                                                                    ; +0x78, 0x7f730", "xrefs": ["<???> @ 0x114db0"], "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"}