{"type": "func", "start": 16897800, "end": 16897856, "name": "ENGINE_set_default_RAND", "pseudocode": "// \n// ENGINE_set_default_RAND from 0x101d708 to 0x101d740 (56 bytes)\n// \n// 2 xrefs:\n// > ENGINE_set_default @ 0x101b268\n// > <???> @ 0xaa650\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:16:09 +0000\n// \n\n__int64 __fastcall ENGINE_set_default_RAND(__int64 a1)\n{\n  if ( *(_QWORD *)(a1 + 48) )\n    return engine_table_register(&unk_1566448, sub_101D678, a1, &unk_1200584, 1);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_set_default_RAND from 0x101d708 to 0x101d740 (56 bytes)\n; \n; 2 xrefs:\n; > ENGINE_set_default @ 0x101b268\n; > <???> @ 0xaa650\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:16:09 +0000\n; \nMOV             X2, X0                                                 ; +0x0, 0x101d708\nLDR             X0, [X0,#0x30]                                         ; +0x4, 0x101d70c\nCBZ             X0, loc_101D738                                        ; +0x8, 0x101d710\nMOV             W4, #1                                                 ; +0xc, 0x101d714\nADRP            X0, #unk_1566448@PAGE                                  ; +0x10, 0x101d718\nADRP            X1, #sub_101D678@PAGE                                  ; +0x14, 0x101d71c\nADRP            X3, #unk_1200584@PAGE                                  ; +0x18, 0x101d720\nADD             X0, X0, #unk_1566448@PAGEOFF                           ; +0x1c, 0x101d724\nADD             X1, X1, #sub_101D678@PAGEOFF                           ; +0x20, 0x101d728\nADD             X3, X3, #unk_1200584@PAGEOFF                           ; +0x24, 0x101d72c\nMOV             W5, W4                                                 ; +0x28, 0x101d730\nB               engine_table_register                                  ; +0x2c, 0x101d734\nMOV             W0, #1                                                 ; +0x30, 0x101d738\nRET                                                                    ; +0x34, 0x101d73c", "xrefs": ["ENGINE_set_default @ 0x101b268", "<???> @ 0xaa650"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}