{"type": "func", "start": 4302316256, "end": 4302316340, "name": "FileOperation::saveFile", "pseudocode": "// \n// FileOperation::saveFile from 0x1007022e0 to 0x100702334 (84 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 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:35:59 +0000\n// \n\nvoid FileOperation::saveFile()\n{\n  FILE *v0; // rax\n  FILE *v1; // rbx\n  char __filename[16]; // [rsp+0h] [rbp-20h] BYREF\n\n  __filename[1] = 0;\n  v0 = fopen(&__filename[1], \"w\");\n  v1 = v0;\n  if ( v0 )\n  {\n    fputs(\"file example\", v0);\n    fclose(v1);\n  }\n}", "assembly": "; \n; FileOperation::saveFile from 0x1007022e0 to 0x100702334 (84 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 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:35:59 +0000\n; \npush    rbp                                                            ; +0x0, 0x1007022e0\nmov     rbp, rsp                                                       ; +0x1, 0x1007022e1\npush    rbx                                                            ; +0x4, 0x1007022e4\nsub     rsp, 18h                                                       ; +0x5, 0x1007022e5\nmov     word ptr [rbp+__filename], 0                                   ; +0x9, 0x1007022e9\nlea     rdi, [rbp+__filename+1]; __filename                            ; +0xf, 0x1007022ef\nlea     rsi, aW_0; \"w\"                                                 ; +0x13, 0x1007022f3\ncall    _fopen                                                         ; +0x1a, 0x1007022fa\nmov     rbx, rax                                                       ; +0x1f, 0x1007022ff\ntest    rax, rax                                                       ; +0x22, 0x100702302\njz      short loc_10070231E                                            ; +0x25, 0x100702305\nlea     rdi, aFileExample; \"file example\"                              ; +0x27, 0x100702307\nmov     rsi, rbx; FILE *                                               ; +0x2e, 0x10070230e\ncall    _fputs                                                         ; +0x31, 0x100702311\nmov     rdi, rbx; FILE *                                               ; +0x36, 0x100702316\ncall    _fclose                                                        ; +0x39, 0x100702319\ntest    [rbp+__filename], 1                                            ; +0x3e, 0x10070231e\njz      short loc_10070232D                                            ; +0x42, 0x100702322\nmov     rdi, [rbp+__p]; __p                                            ; +0x44, 0x100702324\ncall    __ZdlPv; operator delete(void *)                               ; +0x48, 0x100702328\nadd     rsp, 18h                                                       ; +0x4d, 0x10070232d\npop     rbx                                                            ; +0x51, 0x100702331\npop     rbp                                                            ; +0x52, 0x100702332\nretn                                                                   ; +0x53, 0x100702333", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}