{"type": "func", "start": 286246, "end": 286286, "name": "sub_45E26", "pseudocode": "// \n// sub_45E26 from 0x45e26 to 0x45e4e (40 bytes)\n// \n// 0 xrefs:\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 sub_45E26(int a1, _DWORD *a2, int a3, int a4)\n{\n  int result; // r0\n  _DWORD v6[2]; // [sp+0h] [bp-10h] BYREF\n\n  v6[0] = a3;\n  v6[1] = a4;\n  if ( !a2 )\n    return 31;\n  if ( (a3 & 0x10) == 0 )\n    return 68;\n  result = (*(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)a1 + 68))(a1, v6);\n  if ( !result )\n  {\n    *a2 = v6[0];\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_45E26 from 0x45e26 to 0x45e4e (40 bytes)\n; \n; 0 xrefs:\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\nPUSH            {R2-R4,R6,R7,LR}                                       ; +0x0, 0x45e26\nADD             R7, SP, #0x10                                          ; +0x2, 0x45e28\nCBZ             R1, loc_45E36                                          ; +0x4, 0x45e2a\nMOV             R4, R1                                                 ; +0x6, 0x45e2c\nLSLS            R1, R2, #0x1B                                          ; +0x8, 0x45e2e\nBMI             loc_45E3A                                              ; +0xa, 0x45e30\nMOVS            R0, #0x44 ; 'D'                                        ; +0xc, 0x45e32\nB               loc_45E4A                                              ; +0xe, 0x45e34\nMOVS            R0, #0x1F                                              ; +0x10, 0x45e36\nB               loc_45E4A                                              ; +0x12, 0x45e38\nLDR             R1, [R0]                                               ; +0x14, 0x45e3a\nLDR             R2, [R1,#0x44]                                         ; +0x16, 0x45e3c\nMOV             R1, SP                                                 ; +0x18, 0x45e3e\nBLX             R2                                                     ; +0x1a, 0x45e40\nCBNZ            R0, loc_45E4A                                          ; +0x1c, 0x45e42\nLDR             R0, [SP,#8+var_8]                                      ; +0x1e, 0x45e44\nSTR             R0, [R4]                                               ; +0x20, 0x45e46\nMOVS            R0, #0                                                 ; +0x22, 0x45e48\nADD             SP, SP, #8                                             ; +0x24, 0x45e4a\nPOP             {R4,R6,R7,PC}                                          ; +0x26, 0x45e4c", "xrefs": [], "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"}