{"type": "func", "start": 6442788400, "end": 6442788587, "name": "sub_180052630", "pseudocode": "// \n// sub_180052630 from 0x180052630 to 0x1800526eb (187 bytes)\n// \n// 13 xrefs:\n// > cocos2d::CCTransitionMoveInB::create @ 0x180053624\n// > cocos2d::CCTransitionMoveInL::create @ 0x180053704\n// > cocos2d::CCTransitionMoveInR::create @ 0x1800537e4\n// > cocos2d::CCTransitionMoveInT::create @ 0x1800538c4\n// > cocos2d::CCTransitionMoveInB::create @ 0x180053613\n// > cocos2d::CCTransitionMoveInL::create @ 0x1800536f3\n// > cocos2d::CCTransitionMoveInR::create @ 0x1800537d3\n// > cocos2d::CCTransitionMoveInT::create @ 0x1800538b3\n// > <???> @ 0x1800efa80\n// > <???> @ 0x1800efe20\n// > <???> @ 0x1800f01c0\n// > <???> @ 0x1800f0560\n// > <???> @ 0x1801b24cc\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\ncocos2d::CCScene *__fastcall sub_180052630(cocos2d::CCScene *this, char a2)\n{\n  int v3; // esi\n\n  v3 = a2 & 1;\n  if ( (a2 & 2) != 0 )\n  {\n    `eh vector destructor iterator'(\n      this,\n      0x168u,\n      *((_QWORD *)this - 1),\n      (void (*)(void *))cocos2d::CCTransitionMoveInT::~CCTransitionMoveInT);\n    if ( v3 )\n      j_j_j_free_0((char *)this - 8);\n    return (cocos2d::CCScene *)((char *)this - 8);\n  }\n  else\n  {\n    *((_QWORD *)this + 44) = &cocos2d::CCTransitionMoveInL::`vftable'{for `cocos2d::CCTransitionEaseScene'};\n    this->__vftable = (cocos2d::CCScene_vtbl *)&cocos2d::CCTransitionScene::`vftable';\n    cocos2d::CCObject::release(*((cocos2d::CCObject **)this + 41));\n    cocos2d::CCObject::release(*((cocos2d::CCObject **)this + 42));\n    cocos2d::CCScene::~CCScene(this);\n    if ( v3 )\n      j_j_free_0(this);\n    return this;\n  }\n}", "assembly": "; \n; sub_180052630 from 0x180052630 to 0x1800526eb (187 bytes)\n; \n; 13 xrefs:\n; > cocos2d::CCTransitionMoveInB::create @ 0x180053624\n; > cocos2d::CCTransitionMoveInL::create @ 0x180053704\n; > cocos2d::CCTransitionMoveInR::create @ 0x1800537e4\n; > cocos2d::CCTransitionMoveInT::create @ 0x1800538c4\n; > cocos2d::CCTransitionMoveInB::create @ 0x180053613\n; > cocos2d::CCTransitionMoveInL::create @ 0x1800536f3\n; > cocos2d::CCTransitionMoveInR::create @ 0x1800537d3\n; > cocos2d::CCTransitionMoveInT::create @ 0x1800538b3\n; > <???> @ 0x1800efa80\n; > <???> @ 0x1800efe20\n; > <???> @ 0x1800f01c0\n; > <???> @ 0x1800f0560\n; > <???> @ 0x1801b24cc\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, 0x180052630\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180052635\npush    rdi                                                            ; +0xa, 0x18005263a\nsub     rsp, 20h                                                       ; +0xb, 0x18005263b\nmov     rbx, rcx                                                       ; +0xf, 0x18005263f\nmov     esi, edx                                                       ; +0x12, 0x180052642\nand     esi, 1                                                         ; +0x14, 0x180052644\ntest    dl, 2                                                          ; +0x17, 0x180052647\njz      short loc_18005268E                                            ; +0x1a, 0x18005264a\nlea     r9, ??1CCTransitionMoveInT@cocos2d@@UEAA@XZ; void (*)(void *)  ; +0x1c, 0x18005264c\nmov     r8, [rcx-8]; unsigned __int64                                  ; +0x23, 0x180052653\nmov     edx, 168h; unsigned __int64                                    ; +0x27, 0x180052657\ncall    ??_M@YAXPEAX_K1P6AX0@Z@Z; `eh vector destructor iterator'(void *,unsigned __int64,unsigned __int64,void (*)(void *)) ; +0x2c, 0x18005265c\ntest    esi, esi                                                       ; +0x31, 0x180052661\njz      short loc_18005267A                                            ; +0x33, 0x180052663\nimul    rdx, [rbx-8], 168h                                             ; +0x35, 0x180052665\nadd     rdx, 8                                                         ; +0x3d, 0x18005266d\nlea     rcx, [rbx-8]; Block                                            ; +0x41, 0x180052671\ncall    j_j_j_free_0                                                   ; +0x45, 0x180052675\nlea     rax, [rbx-8]                                                   ; +0x4a, 0x18005267a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4e, 0x18005267e\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x53, 0x180052683\nadd     rsp, 20h                                                       ; +0x58, 0x180052688\npop     rdi                                                            ; +0x5c, 0x18005268c\nretn                                                                   ; +0x5d, 0x18005268d\nlea     rax, ??_7CCTransitionMoveInL@cocos2d@@6BCCTransitionEaseScene@1@@; const cocos2d::CCTransitionMoveInL::`vftable'{for `cocos2d::CCTransitionEaseScene'} ; +0x5e, 0x18005268e\nmov     [rcx+160h], rax                                                ; +0x65, 0x180052695\nlea     rax, ??_7CCTransitionScene@cocos2d@@6B@; const cocos2d::CCTransitionScene::`vftable' ; +0x6c, 0x18005269c\nmov     [rcx], rax                                                     ; +0x73, 0x1800526a3\nmov     rcx, [rcx+148h]; this                                          ; +0x76, 0x1800526a6\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x7d, 0x1800526ad\nmov     rcx, [rbx+150h]; this                                          ; +0x82, 0x1800526b2\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x89, 0x1800526b9\nmov     rcx, rbx; this                                                 ; +0x8e, 0x1800526be\ncall    ??1CCScene@cocos2d@@UEAA@XZ; cocos2d::CCScene::~CCScene(void)  ; +0x91, 0x1800526c1\nnop                                                                    ; +0x96, 0x1800526c6\ntest    esi, esi                                                       ; +0x97, 0x1800526c7\njz      short loc_1800526D8                                            ; +0x99, 0x1800526c9\nmov     edx, 168h                                                      ; +0x9b, 0x1800526cb\nmov     rcx, rbx; Block                                                ; +0xa0, 0x1800526d0\ncall    j_j_free_0                                                     ; +0xa3, 0x1800526d3\nmov     rax, rbx                                                       ; +0xa8, 0x1800526d8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xab, 0x1800526db\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xb0, 0x1800526e0\nadd     rsp, 20h                                                       ; +0xb5, 0x1800526e5\npop     rdi                                                            ; +0xb9, 0x1800526e9\nretn                                                                   ; +0xba, 0x1800526ea", "xrefs": ["cocos2d::CCTransitionMoveInB::create @ 0x180053624", "cocos2d::CCTransitionMoveInL::create @ 0x180053704", "cocos2d::CCTransitionMoveInR::create @ 0x1800537e4", "cocos2d::CCTransitionMoveInT::create @ 0x1800538c4", "cocos2d::CCTransitionMoveInB::create @ 0x180053613", "cocos2d::CCTransitionMoveInL::create @ 0x1800536f3", "cocos2d::CCTransitionMoveInR::create @ 0x1800537d3", "cocos2d::CCTransitionMoveInT::create @ 0x1800538b3", "<???> @ 0x1800efa80", "<???> @ 0x1800efe20", "<???> @ 0x1800f01c0", "<???> @ 0x1800f0560", "<???> @ 0x1801b24cc"], "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"}