{"type": "func", "start": 400448, "end": 400524, "name": "sub_61C40", "pseudocode": "// \n// sub_61C40 from 0x61c40 to 0x61c8c (76 bytes)\n// \n// 6 xrefs:\n// > sub_63714 @ 0x63754\n// > sub_63AAC @ 0x63be8\n// > sub_83194 @ 0x83224\n// > sub_E0F84 @ 0xe1608\n// > sub_E0F84 @ 0xe1e3c\n// > sub_E0F84 @ 0xe2314\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:13:53 +0000\n// \n\n__int64 __fastcall sub_61C40(int fd)\n{\n  if ( fd != -1 && (shutdown(fd, 2), close(fd) == -1) )\n    return 43;\n  else\n    return 0;\n}", "assembly": "; \n; sub_61C40 from 0x61c40 to 0x61c8c (76 bytes)\n; \n; 6 xrefs:\n; > sub_63714 @ 0x63754\n; > sub_63AAC @ 0x63be8\n; > sub_83194 @ 0x83224\n; > sub_E0F84 @ 0xe1608\n; > sub_E0F84 @ 0xe1e3c\n; > sub_E0F84 @ 0xe2314\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:13:53 +0000\n; \nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x61c40\nMOV             X19, X0                                                ; +0x4, 0x61c44\nCMN             W19, #1                                                ; +0x8, 0x61c48\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc, 0x61c4c\nADD             X29, SP, #0x10                                         ; +0x10, 0x61c50\nB.EQ            loc_61C74                                              ; +0x14, 0x61c54\nMOV             W1, #2; how                                            ; +0x18, 0x61c58\nMOV             W0, W19; fd                                            ; +0x1c, 0x61c5c\nBL              .shutdown                                              ; +0x20, 0x61c60\nMOV             W0, W19; fd                                            ; +0x24, 0x61c64\nBL              .close                                                 ; +0x28, 0x61c68\nCMN             W0, #1                                                 ; +0x2c, 0x61c6c\nB.EQ            loc_61C7C                                              ; +0x30, 0x61c70\nMOV             W0, WZR                                                ; +0x34, 0x61c74\nB               loc_61C80                                              ; +0x38, 0x61c78\nMOV             W0, #0x2B ; '+'                                        ; +0x3c, 0x61c7c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x61c80\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x44, 0x61c84\nRET                                                                    ; +0x48, 0x61c88", "xrefs": ["sub_63714 @ 0x63754", "sub_63AAC @ 0x63be8", "sub_83194 @ 0x83224", "sub_E0F84 @ 0xe1608", "sub_E0F84 @ 0xe1e3c", "sub_E0F84 @ 0xe2314"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}