{"type": "func", "start": 8361216, "end": 8361296, "name": "ENGINE_set_default_RAND", "pseudocode": "// \n// ENGINE_set_default_RAND from 0x7f9500 to 0x7f9550 (80 bytes)\n// \n// 2 xrefs:\n// > ENGINE_set_default @ 0x7f6f48\n// > <???> @ 0x6223c\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_set_default_RAND(int a1)\n{\n  if ( *(_DWORD *)(a1 + 24) )\n    return engine_table_register(&unk_AD2EA8, sub_7F9454, a1, &unk_A12878, 1, 1);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_set_default_RAND from 0x7f9500 to 0x7f9550 (80 bytes)\n; \n; 2 xrefs:\n; > ENGINE_set_default @ 0x7f6f48\n; > <???> @ 0x6223c\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, 0x7f9500\nCMP             R3, #0                                                 ; +0x4, 0x7f9504\nBEQ             loc_7F9548                                             ; +0x8, 0x7f9508\nPUSH            {LR}                                                   ; +0xc, 0x7f950c\nMOV             R3, #1                                                 ; +0x10, 0x7f9510\nSUB             SP, SP, #0xC                                           ; +0x14, 0x7f9514\nMOV             R2, R0                                                 ; +0x18, 0x7f9518\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x1c, 0x7f951c\nSTR             R3, [SP,#0x10+var_C]                                   ; +0x20, 0x7f9520\nLDR             R0, =(unk_AD2EA8 - 0x7F9540)                           ; +0x24, 0x7f9524\nLDR             R1, =(sub_7F9454 - 0x7F9538)                           ; +0x28, 0x7f9528\nLDR             R3, =(unk_A12878 - 0x7F953C)                           ; +0x2c, 0x7f952c\nADD             R1, PC, R1; sub_7F9454                                 ; +0x30, 0x7f9530\nADD             R3, PC, R3; unk_A12878                                 ; +0x34, 0x7f9534\nADD             R0, PC, R0; unk_AD2EA8                                 ; +0x38, 0x7f9538\nBL              engine_table_register                                  ; +0x3c, 0x7f953c\nADD             SP, SP, #0xC                                           ; +0x40, 0x7f9540\nPOP             {PC}                                                   ; +0x44, 0x7f9544\nMOV             R0, #1                                                 ; +0x48, 0x7f9548\nBX              LR                                                     ; +0x4c, 0x7f954c", "xrefs": ["ENGINE_set_default @ 0x7f6f48", "<???> @ 0x6223c"], "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"}