{"type": "func", "start": 4298356000, "end": 4298356196, "name": "CCAnimatedSprite::createWithType", "pseudocode": "// \n// CCAnimatedSprite::createWithType from 0x10033b520 to 0x10033b5e4 (196 bytes)\n// \n// 1 xrefs:\n// > AnimatedGameObject::init @ 0x100196b7c\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 12:28:41 +0000\n// \n\nchar *__fastcall CCAnimatedSprite::createWithType(__int64 a1, __int64 a2, unsigned __int8 a3)\n{\n  char *v4; // rbx\n\n  v4 = (char *)operator new(0x2D0u);\n  cocos2d::CCSprite::CCSprite((__int64)v4);\n  *(_QWORD *)v4 = off_100B1CDC0;\n  *((_QWORD *)v4 + 40) = off_100B1D2B8;\n  *((_QWORD *)v4 + 43) = off_100B1D338;\n  *(_OWORD *)(v4 + 600) = 0;\n  *(_OWORD *)(v4 + 616) = 0;\n  *(_OWORD *)(v4 + 632) = 0;\n  *(_OWORD *)(v4 + 648) = 0;\n  *(_OWORD *)(v4 + 664) = 0;\n  *((_DWORD *)v4 + 170) = 0;\n  *((_OWORD *)v4 + 43) = 0;\n  *((_OWORD *)v4 + 44) = 0;\n  if ( (unsigned __int8)CCAnimatedSprite::initWithType(v4, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);\n    return nullptr;\n  }\n  return v4;\n}", "assembly": "; \n; CCAnimatedSprite::createWithType from 0x10033b520 to 0x10033b5e4 (196 bytes)\n; \n; 1 xrefs:\n; > AnimatedGameObject::init @ 0x100196b7c\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 12:28:41 +0000\n; \npush    rbp                                                            ; +0x0, 0x10033b520\nmov     rbp, rsp                                                       ; +0x1, 0x10033b521\npush    r15                                                            ; +0x4, 0x10033b524\npush    r14                                                            ; +0x6, 0x10033b526\npush    r12                                                            ; +0x8, 0x10033b528\npush    rbx                                                            ; +0xa, 0x10033b52a\nmov     r12d, edx                                                      ; +0xb, 0x10033b52b\nmov     r14, rsi                                                       ; +0xe, 0x10033b52e\nmov     r15, rdi                                                       ; +0x11, 0x10033b531\nmov     edi, 2D0h; __sz                                                ; +0x14, 0x10033b534\ncall    __Znwm; operator new(ulong)                                    ; +0x19, 0x10033b539\nmov     rbx, rax                                                       ; +0x1e, 0x10033b53e\nmov     rdi, rax                                                       ; +0x21, 0x10033b541\ncall    cocos2d__CCSprite__CCSprite                                    ; +0x24, 0x10033b544\nlea     rax, off_100B1CDC0                                             ; +0x29, 0x10033b549\nmov     [rbx], rax                                                     ; +0x30, 0x10033b550\nlea     rax, off_100B1D2B8                                             ; +0x33, 0x10033b553\nmov     [rbx+140h], rax                                                ; +0x3a, 0x10033b55a\nlea     rax, off_100B1D338                                             ; +0x41, 0x10033b561\nmov     [rbx+158h], rax                                                ; +0x48, 0x10033b568\nxorps   xmm0, xmm0                                                     ; +0x4f, 0x10033b56f\nmovups  xmmword ptr [rbx+258h], xmm0                                   ; +0x52, 0x10033b572\nmovups  xmmword ptr [rbx+268h], xmm0                                   ; +0x59, 0x10033b579\nmovups  xmmword ptr [rbx+278h], xmm0                                   ; +0x60, 0x10033b580\nmovups  xmmword ptr [rbx+288h], xmm0                                   ; +0x67, 0x10033b587\nmovups  xmmword ptr [rbx+298h], xmm0                                   ; +0x6e, 0x10033b58e\nmov     dword ptr [rbx+2A8h], 0                                        ; +0x75, 0x10033b595\nmovups  xmmword ptr [rbx+2B0h], xmm0                                   ; +0x7f, 0x10033b59f\nmovups  xmmword ptr [rbx+2C0h], xmm0                                   ; +0x86, 0x10033b5a6\nmovzx   ecx, r12b                                                      ; +0x8d, 0x10033b5ad\nmov     rdi, rbx                                                       ; +0x91, 0x10033b5b1\nmov     rsi, r15                                                       ; +0x94, 0x10033b5b4\nmov     rdx, r14                                                       ; +0x97, 0x10033b5b7\ncall    CCAnimatedSprite__initWithType                                 ; +0x9a, 0x10033b5ba\ntest    al, al                                                         ; +0x9f, 0x10033b5bf\njz      short loc_10033B5CD                                            ; +0xa1, 0x10033b5c1\nmov     rdi, rbx                                                       ; +0xa3, 0x10033b5c3\ncall    cocos2d__CCObject__autorelease                                 ; +0xa6, 0x10033b5c6\njmp     short loc_10033B5D8                                            ; +0xab, 0x10033b5cb\nmov     rax, [rbx]                                                     ; +0xad, 0x10033b5cd\nmov     rdi, rbx                                                       ; +0xb0, 0x10033b5d0\ncall    qword ptr [rax+10h]                                            ; +0xb3, 0x10033b5d3\nxor     ebx, ebx                                                       ; +0xb6, 0x10033b5d6\nmov     rax, rbx                                                       ; +0xb8, 0x10033b5d8\npop     rbx                                                            ; +0xbb, 0x10033b5db\npop     r12                                                            ; +0xbc, 0x10033b5dc\npop     r14                                                            ; +0xbe, 0x10033b5de\npop     r15                                                            ; +0xc0, 0x10033b5e0\npop     rbp                                                            ; +0xc2, 0x10033b5e2\nretn                                                                   ; +0xc3, 0x10033b5e3", "xrefs": ["AnimatedGameObject::init @ 0x100196b7c"], "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"}