{"type": "func", "start": 4295486400, "end": 4295486548, "name": "CCSpritePart::create", "pseudocode": "// \n// CCSpritePart::create from 0x10007ebc0 to 0x10007ec54 (148 bytes)\n// \n// 1 xrefs:\n// > CCPartAnimSprite::initWithAnimDesc @ 0x10007e834\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\nCCSpritePart *__fastcall CCSpritePart::create(cocos2d::CCTexture2D *a1)\n{\n  char *v2; // x19\n\n  v2 = (char *)operator new(0x290u);\n  cocos2d::CCSprite::CCSprite();\n  *(_DWORD *)(v2 + 615) = 0;\n  *(_OWORD *)(v2 + 600) = 0u;\n  *(_QWORD *)v2 = off_10077B780;\n  *((_QWORD *)v2 + 40) = off_10077BC68;\n  *((_QWORD *)v2 + 43) = off_10077BCE8;\n  v2[619] = 0;\n  *((_OWORD *)v2 + 39) = 0u;\n  *((_OWORD *)v2 + 40) = 0u;\n  if ( CCSpritePlus::initWithTexture((CCSpritePlus *)v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return (CCSpritePart *)v2;\n}", "assembly": "; \n; CCSpritePart::create from 0x10007ebc0 to 0x10007ec54 (148 bytes)\n; \n; 1 xrefs:\n; > CCPartAnimSprite::initWithAnimDesc @ 0x10007e834\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10007ebc0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10007ebc4\nADD             X29, SP, #0x10                                         ; +0x8, 0x10007ebc8\nMOV             X20, X0                                                ; +0xc, 0x10007ebcc\nMOV             W0, #0x290; __sz                                       ; +0x10, 0x10007ebd0\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x10007ebd4\nMOV             X19, X0                                                ; +0x18, 0x10007ebd8\nBL              cocos2d__CCSprite__CCSprite                            ; +0x1c, 0x10007ebdc\nADD             X8, X19, #0x258                                        ; +0x20, 0x10007ebe0\nSTUR            WZR, [X8,#0xF]                                         ; +0x24, 0x10007ebe4\nMOVI            V0.16B, #0                                             ; +0x28, 0x10007ebe8\nSTR             Q0, [X8]                                               ; +0x2c, 0x10007ebec\nADRL            X8, off_10077B780                                      ; +0x30, 0x10007ebf0\nSTR             X8, [X19]                                              ; +0x38, 0x10007ebf8\nADD             X9, X8, #(off_10077BC68 - 0x10077B780)                 ; +0x3c, 0x10007ebfc\nSTR             X9, [X19,#0x140]                                       ; +0x40, 0x10007ec00\nADD             X8, X8, #(off_10077BCE8 - 0x10077B780)                 ; +0x44, 0x10007ec04\nSTR             X8, [X19,#0x158]                                       ; +0x48, 0x10007ec08\nSTRB            WZR, [X19,#0x26B]                                      ; +0x4c, 0x10007ec0c\nSTP             Q0, Q0, [X19,#0x270]                                   ; +0x50, 0x10007ec10\nMOV             X0, X19                                                ; +0x54, 0x10007ec14\nMOV             X1, X20                                                ; +0x58, 0x10007ec18\nBL              CCSpritePlus__initWithTexture                          ; +0x5c, 0x10007ec1c\nCBZ             W0, loc_10007EC30                                      ; +0x60, 0x10007ec20\nMOV             X0, X19                                                ; +0x64, 0x10007ec24\nBL              cocos2d__CCObject__autorelease                         ; +0x68, 0x10007ec28\nB               loc_10007EC44                                          ; +0x6c, 0x10007ec2c\nLDR             X8, [X19]                                              ; +0x70, 0x10007ec30\nLDR             X8, [X8,#0x10]                                         ; +0x74, 0x10007ec34\nMOV             X0, X19                                                ; +0x78, 0x10007ec38\nBLR             X8                                                     ; +0x7c, 0x10007ec3c\nMOV             X19, #0                                                ; +0x80, 0x10007ec40\nMOV             X0, X19                                                ; +0x84, 0x10007ec44\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x88, 0x10007ec48\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x8c, 0x10007ec4c\nRET                                                                    ; +0x90, 0x10007ec50", "xrefs": ["CCPartAnimSprite::initWithAnimDesc @ 0x10007e834"], "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"}