{"type": "func", "start": 358716, "end": 358742, "name": "sub_5793C", "pseudocode": "// \n// sub_5793C from 0x5793c to 0x57956 (26 bytes)\n// \n// 2 xrefs:\n// > sub_57338 @ 0x574cc\n// > sub_5B8A0 @ 0x5b8b2\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 11:40:46 +0000\n// \n\nint __fastcall sub_5793C(int a1)\n{\n  int result; // r0\n\n  result = sub_5B99A(a1, 0);\n  if ( !result )\n    return sub_5B9D4(a1);\n  return result;\n}", "assembly": "; \n; sub_5793C from 0x5793c to 0x57956 (26 bytes)\n; \n; 2 xrefs:\n; > sub_57338 @ 0x574cc\n; > sub_5B8A0 @ 0x5b8b2\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 11:40:46 +0000\n; \nPUSH            {R4,R6,R7,LR}                                          ; +0x0, 0x5793c\nADD             R7, SP, #8                                             ; +0x2, 0x5793e\nMOVS            R1, #0                                                 ; +0x4, 0x57940\nMOV             R4, R0                                                 ; +0x6, 0x57942\nBL              sub_5B99A                                              ; +0x8, 0x57944\nCBZ             R0, loc_5794C                                          ; +0xc, 0x57948\nPOP             {R4,R6,R7,PC}                                          ; +0xe, 0x5794a\nMOV             R0, R4                                                 ; +0x10, 0x5794c\nPOP.W           {R4,R6,R7,LR}                                          ; +0x12, 0x5794e\nB.W             sub_5B9D4                                              ; +0x16, 0x57952", "xrefs": ["sub_57338 @ 0x574cc", "sub_5B8A0 @ 0x5b8b2"], "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"}