{"type": "func", "start": 10543360, "end": 10543440, "name": "ENGINE_set_default_RAND", "pseudocode": "// \n// ENGINE_set_default_RAND from 0xa0e100 to 0xa0e150 (80 bytes)\n// \n// 2 xrefs:\n// > ENGINE_set_default @ 0xa0bb48\n// > <???> @ 0x7bcbc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:45 +0000\n// \n\nint __fastcall ENGINE_set_default_RAND(int a1)\n{\n  if ( *(_DWORD *)(a1 + 24) )\n    return engine_table_register(&unk_D34134, sub_A0E054, a1, &unk_C57548, 1, 1);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_set_default_RAND from 0xa0e100 to 0xa0e150 (80 bytes)\n; \n; 2 xrefs:\n; > ENGINE_set_default @ 0xa0bb48\n; > <???> @ 0x7bcbc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:45 +0000\n; \nLDR             R3, [R0,#0x18]                                         ; +0x0, 0xa0e100\nCMP             R3, #0                                                 ; +0x4, 0xa0e104\nBEQ             loc_A0E148                                             ; +0x8, 0xa0e108\nPUSH            {LR}                                                   ; +0xc, 0xa0e10c\nMOV             R3, #1                                                 ; +0x10, 0xa0e110\nSUB             SP, SP, #0xC                                           ; +0x14, 0xa0e114\nMOV             R2, R0                                                 ; +0x18, 0xa0e118\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x1c, 0xa0e11c\nSTR             R3, [SP,#0x10+var_C]                                   ; +0x20, 0xa0e120\nLDR             R0, =(unk_D34134 - 0xA0E140)                           ; +0x24, 0xa0e124\nLDR             R1, =(sub_A0E054 - 0xA0E138)                           ; +0x28, 0xa0e128\nLDR             R3, =(unk_C57548 - 0xA0E13C)                           ; +0x2c, 0xa0e12c\nADD             R1, PC, R1; sub_A0E054                                 ; +0x30, 0xa0e130\nADD             R3, PC, R3; unk_C57548                                 ; +0x34, 0xa0e134\nADD             R0, PC, R0; unk_D34134                                 ; +0x38, 0xa0e138\nBL              engine_table_register                                  ; +0x3c, 0xa0e13c\nADD             SP, SP, #0xC                                           ; +0x40, 0xa0e140\nPOP             {PC}                                                   ; +0x44, 0xa0e144\nMOV             R0, #1                                                 ; +0x48, 0xa0e148\nBX              LR                                                     ; +0x4c, 0xa0e14c", "xrefs": ["ENGINE_set_default @ 0xa0bb48", "<???> @ 0x7bcbc"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}