{"type": "func", "start": 8361080, "end": 8361160, "name": "ENGINE_register_RAND", "pseudocode": "// \n// ENGINE_register_RAND from 0x7f9478 to 0x7f94c8 (80 bytes)\n// \n// 3 xrefs:\n// > ENGINE_register_complete @ 0x7f704c\n// > ENGINE_register_all_RAND @ 0x7f94e8\n// > <???> @ 0x622cc\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\nint __fastcall ENGINE_register_RAND(int a1)\n{\n  if ( *(_DWORD *)(a1 + 24) )\n    return engine_table_register(&unk_AD2EA8, sub_7F9454, a1, &unk_A12878, 1, 0);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_register_RAND from 0x7f9478 to 0x7f94c8 (80 bytes)\n; \n; 3 xrefs:\n; > ENGINE_register_complete @ 0x7f704c\n; > ENGINE_register_all_RAND @ 0x7f94e8\n; > <???> @ 0x622cc\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\nLDR             R3, [R0,#0x18]                                         ; +0x0, 0x7f9478\nCMP             R3, #0                                                 ; +0x4, 0x7f947c\nBEQ             loc_7F94C0                                             ; +0x8, 0x7f9480\nPUSH            {LR}                                                   ; +0xc, 0x7f9484\nMOV             R1, #1                                                 ; +0x10, 0x7f9488\nSUB             SP, SP, #0xC                                           ; +0x14, 0x7f948c\nMOV             R3, #0                                                 ; +0x18, 0x7f9490\nSTMEA           SP, {R1,R3}                                            ; +0x1c, 0x7f9494\nMOV             R2, R0                                                 ; +0x20, 0x7f9498\nLDR             R1, =(sub_7F9454 - 0x7F94B0)                           ; +0x24, 0x7f949c\nLDR             R0, =(unk_AD2EA8 - 0x7F94B8)                           ; +0x28, 0x7f94a0\nLDR             R3, =(unk_A12878 - 0x7F94B4)                           ; +0x2c, 0x7f94a4\nADD             R1, PC, R1; sub_7F9454                                 ; +0x30, 0x7f94a8\nADD             R3, PC, R3; unk_A12878                                 ; +0x34, 0x7f94ac\nADD             R0, PC, R0; unk_AD2EA8                                 ; +0x38, 0x7f94b0\nBL              engine_table_register                                  ; +0x3c, 0x7f94b4\nADD             SP, SP, #0xC                                           ; +0x40, 0x7f94b8\nPOP             {PC}                                                   ; +0x44, 0x7f94bc\nMOV             R0, #1                                                 ; +0x48, 0x7f94c0\nBX              LR                                                     ; +0x4c, 0x7f94c4", "xrefs": ["ENGINE_register_complete @ 0x7f704c", "ENGINE_register_all_RAND @ 0x7f94e8", "<???> @ 0x622cc"], "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"}