{"type": "func", "start": 14283688, "end": 14283744, "name": "ENGINE_set_default_RAND", "pseudocode": "// \n// ENGINE_set_default_RAND from 0xd9f3a8 to 0xd9f3e0 (56 bytes)\n// \n// 2 xrefs:\n// > ENGINE_set_default @ 0xd9cf08\n// > <???> @ 0x7fef0\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 ENGINE_set_default_RAND(__int64 a1)\n{\n  if ( *(_QWORD *)(a1 + 48) )\n    return engine_table_register(&unk_125D648, sub_D9F318, a1, &unk_F6F084, 1);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_set_default_RAND from 0xd9f3a8 to 0xd9f3e0 (56 bytes)\n; \n; 2 xrefs:\n; > ENGINE_set_default @ 0xd9cf08\n; > <???> @ 0x7fef0\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\nMOV             X2, X0                                                 ; +0x0, 0xd9f3a8\nLDR             X0, [X0,#0x30]                                         ; +0x4, 0xd9f3ac\nCBZ             X0, loc_D9F3D8                                         ; +0x8, 0xd9f3b0\nMOV             W4, #1                                                 ; +0xc, 0xd9f3b4\nADRP            X0, #unk_125D648@PAGE                                  ; +0x10, 0xd9f3b8\nADRP            X1, #sub_D9F318@PAGE                                   ; +0x14, 0xd9f3bc\nADRP            X3, #unk_F6F084@PAGE                                   ; +0x18, 0xd9f3c0\nADD             X0, X0, #unk_125D648@PAGEOFF                           ; +0x1c, 0xd9f3c4\nADD             X1, X1, #sub_D9F318@PAGEOFF                            ; +0x20, 0xd9f3c8\nADD             X3, X3, #unk_F6F084@PAGEOFF                            ; +0x24, 0xd9f3cc\nMOV             W5, W4                                                 ; +0x28, 0xd9f3d0\nB               engine_table_register                                  ; +0x2c, 0xd9f3d4\nMOV             W0, #1                                                 ; +0x30, 0xd9f3d8\nRET                                                                    ; +0x34, 0xd9f3dc", "xrefs": ["ENGINE_set_default @ 0xd9cf08", "<???> @ 0x7fef0"], "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"}