{"type": "func", "start": 6442875616, "end": 6442875773, "name": "sub_180067AE0", "pseudocode": "// \n// sub_180067AE0 from 0x180067ae0 to 0x180067b7d (157 bytes)\n// \n// 14 xrefs:\n// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a6ee\n// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a749\n// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a7c0\n// > cocos2d::CCParticleSystem::initWithFile @ 0x18006aadb\n// > cocos2d::CCFileUtils::fullPathFromRelativeFile @ 0x18007193e\n// > cocos2d::CCFileUtils::getPathForFilename @ 0x1800727b9\n// > cocos2d::CCApplication::setResourceRootPath @ 0x18007664b\n// > cocos2d::CCTMXMapInfo::internalInit @ 0x1800b321e\n// > cocos2d::CCTMXMapInfo::startElement @ 0x1800b4a77\n// > cocos2d::CCTMXMapInfo::startElement @ 0x1800b4ad3\n// > cocos2d::CCActionTween::operator= @ 0x1800cfd0f\n// > cocos2d::CCPrettyPrinter::operator= @ 0x1800d2f2e\n// > cocos2d::CCPrettyPrinter::operator= @ 0x1800d2f3b\n// > <???> @ 0x1801bdeb8\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 11:21:53 +0000\n// \n\n__int64 __fastcall sub_180067AE0(__int64 a1, __int64 a2)\n{\n  unsigned __int64 v4; // rdx\n  _QWORD *v5; // rcx\n\n  if ( a1 != a2 )\n  {\n    v4 = *(_QWORD *)(a1 + 24);\n    if ( v4 > 0xF )\n    {\n      v5 = *(_QWORD **)a1;\n      if ( v4 + 1 >= 0x1000 )\n      {\n        if ( (unsigned __int64)v5 - *(v5 - 1) - 8 > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n        v5 = (_QWORD *)*(v5 - 1);\n      }\n      j_j_free_0(v5);\n    }\n    *(_QWORD *)(a1 + 24) = 15;\n    *(_QWORD *)(a1 + 16) = 0;\n    *(_BYTE *)a1 = 0;\n    *(_OWORD *)a1 = *(_OWORD *)a2;\n    *(_OWORD *)(a1 + 16) = *(_OWORD *)(a2 + 16);\n    *(_QWORD *)(a2 + 16) = 0;\n    *(_QWORD *)(a2 + 24) = 15;\n    *(_BYTE *)a2 = 0;\n  }\n  return a1;\n}", "assembly": "; \n; sub_180067AE0 from 0x180067ae0 to 0x180067b7d (157 bytes)\n; \n; 14 xrefs:\n; > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a6ee\n; > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a749\n; > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a7c0\n; > cocos2d::CCParticleSystem::initWithFile @ 0x18006aadb\n; > cocos2d::CCFileUtils::fullPathFromRelativeFile @ 0x18007193e\n; > cocos2d::CCFileUtils::getPathForFilename @ 0x1800727b9\n; > cocos2d::CCApplication::setResourceRootPath @ 0x18007664b\n; > cocos2d::CCTMXMapInfo::internalInit @ 0x1800b321e\n; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b4a77\n; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b4ad3\n; > cocos2d::CCActionTween::operator= @ 0x1800cfd0f\n; > cocos2d::CCPrettyPrinter::operator= @ 0x1800d2f2e\n; > cocos2d::CCPrettyPrinter::operator= @ 0x1800d2f3b\n; > <???> @ 0x1801bdeb8\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 11:21:53 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180067ae0\npush    rdi                                                            ; +0x5, 0x180067ae5\nsub     rsp, 30h                                                       ; +0x6, 0x180067ae6\nmov     rdi, rdx                                                       ; +0xa, 0x180067aea\nmov     rbx, rcx                                                       ; +0xd, 0x180067aed\ncmp     rcx, rdx                                                       ; +0x10, 0x180067af0\njz      short loc_180067B57                                            ; +0x13, 0x180067af3\nmov     rdx, [rcx+18h]                                                 ; +0x15, 0x180067af5\ncmp     rdx, 0Fh                                                       ; +0x19, 0x180067af9\njbe     short loc_180067B2B                                            ; +0x1d, 0x180067afd\nmov     rcx, [rcx]                                                     ; +0x1f, 0x180067aff\ninc     rdx                                                            ; +0x22, 0x180067b02\ncmp     rdx, 1000h                                                     ; +0x25, 0x180067b05\njb      short loc_180067B26                                            ; +0x2c, 0x180067b0c\nmov     rax, [rcx-8]                                                   ; +0x2e, 0x180067b0e\nadd     rdx, 27h ; '''                                                 ; +0x32, 0x180067b12\nsub     rcx, rax                                                       ; +0x36, 0x180067b16\nsub     rcx, 8                                                         ; +0x39, 0x180067b19\ncmp     rcx, 1Fh                                                       ; +0x3d, 0x180067b1d\nja      short loc_180067B65                                            ; +0x41, 0x180067b21\nmov     rcx, rax; Block                                                ; +0x43, 0x180067b23\ncall    j_j_free_0                                                     ; +0x46, 0x180067b26\nmov     qword ptr [rbx+18h], 0Fh                                       ; +0x4b, 0x180067b2b\nxor     eax, eax                                                       ; +0x53, 0x180067b33\nmov     [rbx+10h], rax                                                 ; +0x55, 0x180067b35\nmov     [rbx], al                                                      ; +0x59, 0x180067b39\nmovups  xmm0, xmmword ptr [rdi]                                        ; +0x5b, 0x180067b3b\nmovups  xmmword ptr [rbx], xmm0                                        ; +0x5e, 0x180067b3e\nmovups  xmm1, xmmword ptr [rdi+10h]                                    ; +0x61, 0x180067b41\nmovups  xmmword ptr [rbx+10h], xmm1                                    ; +0x65, 0x180067b45\nmov     [rdi+10h], rax                                                 ; +0x69, 0x180067b49\nmov     qword ptr [rdi+18h], 0Fh                                       ; +0x6d, 0x180067b4d\nmov     [rdi], al                                                      ; +0x75, 0x180067b55\nmov     rax, rbx                                                       ; +0x77, 0x180067b57\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x7a, 0x180067b5a\nadd     rsp, 30h                                                       ; +0x7f, 0x180067b5f\npop     rdi                                                            ; +0x83, 0x180067b63\nretn                                                                   ; +0x84, 0x180067b64\nxor     eax, eax                                                       ; +0x85, 0x180067b65\nxor     r9d, r9d; LineNo                                               ; +0x87, 0x180067b67\nxor     r8d, r8d; FileName                                             ; +0x8a, 0x180067b6a\nmov     [rsp+38h+Reserved], rax; Reserved                              ; +0x8d, 0x180067b6d\nxor     edx, edx; FunctionName                                         ; +0x92, 0x180067b72\nxor     ecx, ecx; Expression                                           ; +0x94, 0x180067b74\ncall    cs:_invoke_watson                                              ; +0x96, 0x180067b76\ndb 0CCh                                                                ; +0x9c, 0x180067b7c", "xrefs": ["cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a6ee", "cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a749", "cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a7c0", "cocos2d::CCParticleSystem::initWithFile @ 0x18006aadb", "cocos2d::CCFileUtils::fullPathFromRelativeFile @ 0x18007193e", "cocos2d::CCFileUtils::getPathForFilename @ 0x1800727b9", "cocos2d::CCApplication::setResourceRootPath @ 0x18007664b", "cocos2d::CCTMXMapInfo::internalInit @ 0x1800b321e", "cocos2d::CCTMXMapInfo::startElement @ 0x1800b4a77", "cocos2d::CCTMXMapInfo::startElement @ 0x1800b4ad3", "cocos2d::CCActionTween::operator= @ 0x1800cfd0f", "cocos2d::CCPrettyPrinter::operator= @ 0x1800d2f2e", "cocos2d::CCPrettyPrinter::operator= @ 0x1800d2f3b", "<???> @ 0x1801bdeb8"], "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"}