{"type": "func", "start": 6442910064, "end": 6442910170, "name": "cocos2d::CCFileUtils::getFullPathForDirectoryAndFilename", "pseudocode": "// \n// cocos2d::CCFileUtils::getFullPathForDirectoryAndFilename from 0x180070170 to 0x1800701da (106 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x180100418\n// > <???> @ 0x180101140\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b420c\n// > <???> @ 0x1801b4218\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\n// Hidden C++ exception states: #wind=1\nvoid **__fastcall cocos2d::CCFileUtils::getFullPathForDirectoryAndFilename(\n        __int64 a1,\n        void **a2,\n        _QWORD *a3,\n        _QWORD *a4)\n{\n  sub_18006C3F0(a2, a3, a4);\n  if ( !(*(unsigned __int8 (__fastcall **)(__int64, void **))(*(_QWORD *)a1 + 152LL))(a1, a2) )\n    sub_180010050(a2, (void *)Buf2, 0);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCFileUtils::getFullPathForDirectoryAndFilename from 0x180070170 to 0x1800701da (106 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x180100418\n; > <???> @ 0x180101140\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b420c\n; > <???> @ 0x1801b4218\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180070170\nmov     [rsp+arg_8], rdx                                               ; +0x5, 0x180070175\npush    rdi                                                            ; +0xa, 0x18007017a\nsub     rsp, 30h                                                       ; +0xb, 0x18007017b\nmov     rax, r8                                                        ; +0xf, 0x18007017f\nmov     rdi, rdx                                                       ; +0x12, 0x180070182\nmov     rbx, rcx                                                       ; +0x15, 0x180070185\nmov     [rsp+38h+var_18], 0                                            ; +0x18, 0x180070188\nmov     r8, r9; void *                                                 ; +0x20, 0x180070190\nmov     rdx, rax; Src                                                  ; +0x23, 0x180070193\nmov     rcx, rdi; void *                                               ; +0x26, 0x180070196\ncall    sub_18006C3F0                                                  ; +0x29, 0x180070199\nmov     [rsp+38h+var_18], 1                                            ; +0x2e, 0x18007019e\nmov     rax, [rbx]                                                     ; +0x36, 0x1800701a6\nmov     rdx, rdi                                                       ; +0x39, 0x1800701a9\nmov     rcx, rbx                                                       ; +0x3c, 0x1800701ac\ncall    qword ptr [rax+98h]                                            ; +0x3f, 0x1800701af\ntest    al, al                                                         ; +0x45, 0x1800701b5\njnz     short loc_1800701CB                                            ; +0x47, 0x1800701b7\nxor     r8d, r8d; Size                                                 ; +0x49, 0x1800701b9\nlea     rdx, Buf2; Src                                                 ; +0x4c, 0x1800701bc\nmov     rcx, rdi; void *                                               ; +0x53, 0x1800701c3\ncall    sub_180010050                                                  ; +0x56, 0x1800701c6\nmov     rax, rdi                                                       ; +0x5b, 0x1800701cb\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x5e, 0x1800701ce\nadd     rsp, 30h                                                       ; +0x63, 0x1800701d3\npop     rdi                                                            ; +0x67, 0x1800701d7\nretn                                                                   ; +0x68, 0x1800701d8\ndb 0CCh                                                                ; +0x69, 0x1800701d9", "xrefs": ["<???> @ 0x180100418", "<???> @ 0x180101140", "<???> @ 0x1801438a8", "<???> @ 0x1801b420c", "<???> @ 0x1801b4218"], "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"}