{"type": "func", "start": 6442672304, "end": 6442672554, "name": "cocos2d::CCAnimate::reverse", "pseudocode": "// \n// cocos2d::CCAnimate::reverse from 0x1800360b0 to 0x1800361aa (250 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800eff98\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801ba8e8\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:35 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCActionInterval *__fastcall cocos2d::CCAnimate::reverse(cocos2d::CCAnimate *this)\n{\n  cocos2d::CCArray *v2; // rbx\n  unsigned int v3; // eax\n  cocos2d::CCArray *v4; // rsi\n  unsigned int *v5; // rdi\n  __int64 v6; // rax\n  unsigned __int64 v7; // rdi\n  cocos2d::CCObject **i; // rbx\n  cocos2d::CCObject *v9; // rax\n  struct cocos2d::CCObject *v10; // rax\n  struct cocos2d::CCAnimation *v11; // rdi\n  cocos2d::CCAnimate *v12; // rax\n  cocos2d::CCAnimate *v13; // rbx\n\n  v2 = *(cocos2d::CCArray **)(*((_QWORD *)this + 12) + 72LL);\n  v3 = cocos2d::CCArray::count(v2);\n  v4 = cocos2d::CCArray::createWithCapacity(v3);\n  if ( (unsigned int)cocos2d::CCArray::count(v2) )\n  {\n    if ( v2 )\n    {\n      v5 = *((unsigned int **)v2 + 7);\n      v6 = *v5;\n      if ( (_DWORD)v6 )\n      {\n        v7 = *((_QWORD *)v5 + 2);\n        for ( i = (cocos2d::CCObject **)(v7 + 8 * (v6 - 1)); (unsigned __int64)i >= v7; --i )\n        {\n          if ( !*i )\n            break;\n          v9 = cocos2d::CCObject::copy(*i);\n          v10 = cocos2d::CCObject::autorelease(v9);\n          cocos2d::CCArray::addObject(v4, v10);\n        }\n      }\n    }\n  }\n  v11 = cocos2d::CCAnimation::create(\n          v4,\n          *(float *)(*((_QWORD *)this + 12) + 60LL),\n          *(_DWORD *)(*((_QWORD *)this + 12) + 84LL));\n  *((_BYTE *)v11 + 80) = *(_BYTE *)(*((_QWORD *)this + 12) + 80LL);\n  v12 = (cocos2d::CCAnimate *)sub_1800E4AC0(0x88u);\n  if ( v12 )\n    v13 = cocos2d::CCAnimate::CCAnimate(v12);\n  else\n    v13 = nullptr;\n  cocos2d::CCAnimate::initWithAnimation(v13, v11);\n  cocos2d::CCObject::autorelease(v13);\n  return v13;\n}", "assembly": "; \n; cocos2d::CCAnimate::reverse from 0x1800360b0 to 0x1800361aa (250 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800eff98\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801ba8e8\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:35 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800360b0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x1800360b5\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x1800360ba\npush    rdi                                                            ; +0xf, 0x1800360bf\nsub     rsp, 20h                                                       ; +0x10, 0x1800360c0\nmov     rbp, rcx                                                       ; +0x14, 0x1800360c4\nmov     rax, [rcx+60h]                                                 ; +0x17, 0x1800360c7\nmov     rbx, [rax+48h]                                                 ; +0x1b, 0x1800360cb\nmov     rcx, rbx; this                                                 ; +0x1f, 0x1800360cf\ncall    ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x22, 0x1800360d2\nmov     ecx, eax; Count                                                ; +0x27, 0x1800360d7\ncall    ?createWithCapacity@CCArray@cocos2d@@SAPEAV12@I@Z; cocos2d::CCArray::createWithCapacity(uint) ; +0x29, 0x1800360d9\nmov     rsi, rax                                                       ; +0x2e, 0x1800360de\nmov     rcx, rbx; this                                                 ; +0x31, 0x1800360e1\ncall    ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x34, 0x1800360e4\ntest    eax, eax                                                       ; +0x39, 0x1800360e9\njz      short loc_180036139                                            ; +0x3b, 0x1800360eb\ntest    rbx, rbx                                                       ; +0x3d, 0x1800360ed\njz      short loc_180036139                                            ; +0x40, 0x1800360f0\nmov     rdi, [rbx+38h]                                                 ; +0x42, 0x1800360f2\nmov     eax, [rdi]                                                     ; +0x46, 0x1800360f6\ntest    eax, eax                                                       ; +0x48, 0x1800360f8\njz      short loc_180036139                                            ; +0x4a, 0x1800360fa\nmov     rdi, [rdi+10h]                                                 ; +0x4c, 0x1800360fc\nlea     rbx, [rax-1]                                                   ; +0x50, 0x180036100\nlea     rbx, [rdi+rbx*8]                                               ; +0x54, 0x180036104\ncmp     rbx, rdi                                                       ; +0x58, 0x180036108\njb      short loc_180036139                                            ; +0x5b, 0x18003610b\nnop     dword ptr [rax]                                                ; +0x5d, 0x18003610d\nmov     rcx, [rbx]; this                                               ; +0x60, 0x180036110\ntest    rcx, rcx                                                       ; +0x63, 0x180036113\njz      short loc_180036139                                            ; +0x66, 0x180036116\ncall    ?copy@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::copy(void) ; +0x68, 0x180036118\nmov     rcx, rax; this                                                 ; +0x6d, 0x18003611d\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x70, 0x180036120\nmov     rdx, rax; struct cocos2d::CCObject *                           ; +0x75, 0x180036125\nmov     rcx, rsi; this                                                 ; +0x78, 0x180036128\ncall    ?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x7b, 0x18003612b\nsub     rbx, 8                                                         ; +0x80, 0x180036130\ncmp     rbx, rdi                                                       ; +0x84, 0x180036134\njnb     short loc_180036110                                            ; +0x87, 0x180036137\nmov     rax, [rbp+60h]                                                 ; +0x89, 0x180036139\nmov     r8d, [rax+54h]; unsigned int                                   ; +0x8d, 0x18003613d\nmovss   xmm1, dword ptr [rax+3Ch]; float                               ; +0x91, 0x180036141\nmov     rcx, rsi; struct cocos2d::CCArray *                            ; +0x96, 0x180036146\ncall    ?create@CCAnimation@cocos2d@@SAPEAV12@PEAVCCArray@2@MI@Z; cocos2d::CCAnimation::create(cocos2d::CCArray *,float,uint) ; +0x99, 0x180036149\nmov     rdi, rax                                                       ; +0x9e, 0x18003614e\nmov     rcx, [rbp+60h]                                                 ; +0xa1, 0x180036151\nmovzx   edx, byte ptr [rcx+50h]                                        ; +0xa5, 0x180036155\nmov     [rax+50h], dl                                                  ; +0xa9, 0x180036159\nmov     ecx, 88h; Size                                                 ; +0xac, 0x18003615c\ncall    sub_1800E4AC0                                                  ; +0xb1, 0x180036161\nmov     [rsp+28h+arg_0], rax                                           ; +0xb6, 0x180036166\ntest    rax, rax                                                       ; +0xbb, 0x18003616b\njz      short loc_18003617D                                            ; +0xbe, 0x18003616e\nmov     rcx, rax; this                                                 ; +0xc0, 0x180036170\ncall    ??0CCAnimate@cocos2d@@QEAA@XZ; cocos2d::CCAnimate::CCAnimate(void) ; +0xc3, 0x180036173\nmov     rbx, rax                                                       ; +0xc8, 0x180036178\njmp     short loc_18003617F                                            ; +0xcb, 0x18003617b\nxor     ebx, ebx                                                       ; +0xcd, 0x18003617d\nmov     rdx, rdi; struct cocos2d::CCAnimation *                        ; +0xcf, 0x18003617f\nmov     rcx, rbx; this                                                 ; +0xd2, 0x180036182\ncall    ?initWithAnimation@CCAnimate@cocos2d@@QEAA_NPEAVCCAnimation@2@@Z; cocos2d::CCAnimate::initWithAnimation(cocos2d::CCAnimation *) ; +0xd5, 0x180036185\nmov     rcx, rbx; this                                                 ; +0xda, 0x18003618a\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xdd, 0x18003618d\nmov     rax, rbx                                                       ; +0xe2, 0x180036192\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xe5, 0x180036195\nmov     rbp, [rsp+28h+arg_10]                                          ; +0xea, 0x18003619a\nmov     rsi, [rsp+28h+arg_18]                                          ; +0xef, 0x18003619f\nadd     rsp, 20h                                                       ; +0xf4, 0x1800361a4\npop     rdi                                                            ; +0xf8, 0x1800361a8\nretn                                                                   ; +0xf9, 0x1800361a9", "xrefs": ["<???> @ 0x1800eff98", "<???> @ 0x18014cf68", "<???> @ 0x1801ba8e8"], "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"}