{"type": "func", "start": 14283572, "end": 14283628, "name": "ENGINE_register_RAND", "pseudocode": "// \n// ENGINE_register_RAND from 0xd9f334 to 0xd9f36c (56 bytes)\n// \n// 3 xrefs:\n// > ENGINE_register_complete @ 0xd9d028\n// > ENGINE_register_all_RAND @ 0xd9f388\n// > <???> @ 0x4ea20\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_register_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_register_RAND from 0xd9f334 to 0xd9f36c (56 bytes)\n; \n; 3 xrefs:\n; > ENGINE_register_complete @ 0xd9d028\n; > ENGINE_register_all_RAND @ 0xd9f388\n; > <???> @ 0x4ea20\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, 0xd9f334\nLDR             X0, [X0,#0x30]                                         ; +0x4, 0xd9f338\nCBZ             X0, loc_D9F364                                         ; +0x8, 0xd9f33c\nADRP            X0, #unk_125D648@PAGE                                  ; +0xc, 0xd9f340\nADRP            X1, #sub_D9F318@PAGE                                   ; +0x10, 0xd9f344\nADRP            X3, #unk_F6F084@PAGE                                   ; +0x14, 0xd9f348\nADD             X0, X0, #unk_125D648@PAGEOFF                           ; +0x18, 0xd9f34c\nADD             X1, X1, #sub_D9F318@PAGEOFF                            ; +0x1c, 0xd9f350\nADD             X3, X3, #unk_F6F084@PAGEOFF                            ; +0x20, 0xd9f354\nMOV             W4, #1                                                 ; +0x24, 0xd9f358\nMOV             W5, #0                                                 ; +0x28, 0xd9f35c\nB               engine_table_register                                  ; +0x2c, 0xd9f360\nMOV             W0, #1                                                 ; +0x30, 0xd9f364\nRET                                                                    ; +0x34, 0xd9f368", "xrefs": ["ENGINE_register_complete @ 0xd9d028", "ENGINE_register_all_RAND @ 0xd9f388", "<???> @ 0x4ea20"], "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"}