{"type": "func", "start": 6442914112, "end": 6442914230, "name": "cocos2d::CCFileUtils::setFilenameLookupDictionary", "pseudocode": "// \n// cocos2d::CCFileUtils::setFilenameLookupDictionary from 0x180071140 to 0x1800711b6 (118 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180100378\n// > <???> @ 0x1801010a0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b42f0\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\nvoid __fastcall cocos2d::CCFileUtils::setFilenameLookupDictionary(\n        cocos2d::CCFileUtils *this,\n        struct cocos2d::CCDictionary *a2)\n{\n  __int64 v2; // rbx\n  cocos2d::CCObject *v5; // rcx\n\n  v2 = *((_QWORD *)this + 12);\n  sub_18006C6D0((__int64)(this + 12), (__int64)(this + 12), *(char **)(v2 + 8));\n  *(_QWORD *)(v2 + 8) = v2;\n  *(_QWORD *)v2 = v2;\n  *(_QWORD *)(v2 + 16) = v2;\n  *((_QWORD *)this + 13) = 0;\n  v5 = *((cocos2d::CCObject **)this + 1);\n  if ( v5 )\n    cocos2d::CCObject::release(v5);\n  *((_QWORD *)this + 1) = a2;\n  if ( a2 )\n    cocos2d::CCObject::retain(a2);\n}", "assembly": "; \n; cocos2d::CCFileUtils::setFilenameLookupDictionary from 0x180071140 to 0x1800711b6 (118 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180100378\n; > <???> @ 0x1801010a0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b42f0\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, 0x180071140\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180071145\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18007114a\npush    rdi                                                            ; +0xf, 0x18007114f\nsub     rsp, 20h                                                       ; +0x10, 0x180071150\nmov     rbx, [rcx+60h]                                                 ; +0x14, 0x180071154\nmov     rsi, rdx                                                       ; +0x18, 0x180071158\nmov     rbp, rcx                                                       ; +0x1b, 0x18007115b\nlea     rdx, [rcx+60h]                                                 ; +0x1e, 0x18007115e\nadd     rcx, 60h ; '`'                                                 ; +0x22, 0x180071162\nmov     r8, [rbx+8]                                                    ; +0x26, 0x180071166\ncall    sub_18006C6D0                                                  ; +0x2a, 0x18007116a\nmov     [rbx+8], rbx                                                   ; +0x2f, 0x18007116f\nmov     [rbx], rbx                                                     ; +0x33, 0x180071173\nmov     [rbx+10h], rbx                                                 ; +0x36, 0x180071176\nmov     qword ptr [rbp+68h], 0                                         ; +0x3a, 0x18007117a\nmov     rcx, [rbp+8]; this                                             ; +0x42, 0x180071182\ntest    rcx, rcx                                                       ; +0x46, 0x180071186\njz      short loc_180071190                                            ; +0x49, 0x180071189\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x4b, 0x18007118b\nmov     [rbp+8], rsi                                                   ; +0x50, 0x180071190\ntest    rsi, rsi                                                       ; +0x54, 0x180071194\njz      short loc_1800711A1                                            ; +0x57, 0x180071197\nmov     rcx, rsi; this                                                 ; +0x59, 0x180071199\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x5c, 0x18007119c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x61, 0x1800711a1\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x66, 0x1800711a6\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x6b, 0x1800711ab\nadd     rsp, 20h                                                       ; +0x70, 0x1800711b0\npop     rdi                                                            ; +0x74, 0x1800711b4\nretn                                                                   ; +0x75, 0x1800711b5", "xrefs": ["<???> @ 0x180100378", "<???> @ 0x1801010a0", "<???> @ 0x1801438a8", "<???> @ 0x1801b42f0"], "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"}