{"type": "func", "start": 4298493760, "end": 4298493937, "name": "CCPartAnimSprite::createWithAnimDesc", "pseudocode": "// \n// CCPartAnimSprite::createWithAnimDesc from 0x10035cf40 to 0x10035cff1 (177 bytes)\n// \n// 1 xrefs:\n// > CCAnimatedSprite::loadType @ 0x10033bca8\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:54 +0000\n// \n\nchar *__fastcall CCPartAnimSprite::createWithAnimDesc(__int64 a1, __int64 a2, unsigned __int8 a3)\n{\n  char *v4; // rbx\n\n  v4 = (char *)operator new(0x280u);\n  cocos2d::CCSprite::CCSprite((__int64)v4);\n  *(_QWORD *)v4 = off_100B25998;\n  *((_QWORD *)v4 + 40) = off_100B25E80;\n  *((_QWORD *)v4 + 43) = off_100B25F00;\n  *(_OWORD *)(v4 + 600) = 0;\n  v4[616] = 0;\n  sub_100278600(v4 + 620);\n  *((_QWORD *)v4 + 79) = 0;\n  if ( (unsigned __int8)CCPartAnimSprite::initWithAnimDesc(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; CCPartAnimSprite::createWithAnimDesc from 0x10035cf40 to 0x10035cff1 (177 bytes)\n; \n; 1 xrefs:\n; > CCAnimatedSprite::loadType @ 0x10033bca8\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:54 +0000\n; \npush    rbp                                                            ; +0x0, 0x10035cf40\nmov     rbp, rsp                                                       ; +0x1, 0x10035cf41\npush    r15                                                            ; +0x4, 0x10035cf44\npush    r14                                                            ; +0x6, 0x10035cf46\npush    r12                                                            ; +0x8, 0x10035cf48\npush    rbx                                                            ; +0xa, 0x10035cf4a\nmov     r12d, edx                                                      ; +0xb, 0x10035cf4b\nmov     r14, rsi                                                       ; +0xe, 0x10035cf4e\nmov     r15, rdi                                                       ; +0x11, 0x10035cf51\nmov     edi, 280h; __sz                                                ; +0x14, 0x10035cf54\ncall    __Znwm; operator new(ulong)                                    ; +0x19, 0x10035cf59\nmov     rbx, rax                                                       ; +0x1e, 0x10035cf5e\nmov     rdi, rax                                                       ; +0x21, 0x10035cf61\ncall    cocos2d__CCSprite__CCSprite                                    ; +0x24, 0x10035cf64\nlea     rax, off_100B25998                                             ; +0x29, 0x10035cf69\nmov     [rbx], rax                                                     ; +0x30, 0x10035cf70\nlea     rax, off_100B25E80                                             ; +0x33, 0x10035cf73\nmov     [rbx+140h], rax                                                ; +0x3a, 0x10035cf7a\nlea     rax, off_100B25F00                                             ; +0x41, 0x10035cf81\nmov     [rbx+158h], rax                                                ; +0x48, 0x10035cf88\nmov     rdi, rbx                                                       ; +0x4f, 0x10035cf8f\nadd     rdi, 26Ch                                                      ; +0x52, 0x10035cf92\nxorps   xmm0, xmm0                                                     ; +0x59, 0x10035cf99\nmovups  xmmword ptr [rbx+258h], xmm0                                   ; +0x5c, 0x10035cf9c\nmov     byte ptr [rbx+268h], 0                                         ; +0x63, 0x10035cfa3\ncall    sub_100278600                                                  ; +0x6a, 0x10035cfaa\nmov     qword ptr [rbx+278h], 0                                        ; +0x6f, 0x10035cfaf\nmovzx   ecx, r12b                                                      ; +0x7a, 0x10035cfba\nmov     rdi, rbx                                                       ; +0x7e, 0x10035cfbe\nmov     rsi, r15                                                       ; +0x81, 0x10035cfc1\nmov     rdx, r14                                                       ; +0x84, 0x10035cfc4\ncall    CCPartAnimSprite__initWithAnimDesc                             ; +0x87, 0x10035cfc7\ntest    al, al                                                         ; +0x8c, 0x10035cfcc\njz      short loc_10035CFDA                                            ; +0x8e, 0x10035cfce\nmov     rdi, rbx                                                       ; +0x90, 0x10035cfd0\ncall    cocos2d__CCObject__autorelease                                 ; +0x93, 0x10035cfd3\njmp     short loc_10035CFE5                                            ; +0x98, 0x10035cfd8\nmov     rax, [rbx]                                                     ; +0x9a, 0x10035cfda\nmov     rdi, rbx                                                       ; +0x9d, 0x10035cfdd\ncall    qword ptr [rax+10h]                                            ; +0xa0, 0x10035cfe0\nxor     ebx, ebx                                                       ; +0xa3, 0x10035cfe3\nmov     rax, rbx                                                       ; +0xa5, 0x10035cfe5\npop     rbx                                                            ; +0xa8, 0x10035cfe8\npop     r12                                                            ; +0xa9, 0x10035cfe9\npop     r14                                                            ; +0xab, 0x10035cfeb\npop     r15                                                            ; +0xad, 0x10035cfed\npop     rbp                                                            ; +0xaf, 0x10035cfef\nretn                                                                   ; +0xb0, 0x10035cff0", "xrefs": ["CCAnimatedSprite::loadType @ 0x10033bca8"], "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"}