{"type": "func", "start": 14118180, "end": 14118228, "name": "BIO_ptr_ctrl", "pseudocode": "// \n// BIO_ptr_ctrl from 0xd76d24 to 0xd76d54 (48 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x97848\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 BIO_ptr_ctrl(__int64 a1, unsigned int a2, __int64 a3)\n{\n  __int64 v4; // [xsp+18h] [xbp+18h] BYREF\n\n  v4 = 0;\n  if ( BIO_ctrl(a1, a2, a3, (__int64)&v4) <= 0 )\n    return 0;\n  else\n    return v4;\n}", "assembly": "; \n; BIO_ptr_ctrl from 0xd76d24 to 0xd76d54 (48 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x97848\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,#var_20]!                                ; +0x0, 0xd76d24\nMOV             X29, SP                                                ; +0x4, 0xd76d28\nADD             X3, X29, #0x20+arg_0                                   ; +0x8, 0xd76d2c\nSTR             XZR, [X3,#-8]!                                         ; +0xc, 0xd76d30\nBL              BIO_ctrl                                               ; +0x10, 0xd76d34\nCMP             X0, XZR                                                ; +0x14, 0xd76d38\nB.LE            loc_D76D4C                                             ; +0x18, 0xd76d3c\nLDR             X0, [X29,#0x20+var_8]                                  ; +0x1c, 0xd76d40\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x20, 0xd76d44\nRET                                                                    ; +0x24, 0xd76d48\nMOV             X0, #0                                                 ; +0x28, 0xd76d4c\nB               loc_D76D44                                             ; +0x2c, 0xd76d50", "xrefs": ["<???> @ 0x97848"], "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"}