{"type": "func", "start": 6892496, "end": 6892696, "name": "CCSpritePart::create", "pseudocode": "// \n// CCSpritePart::create from 0x692bd0 to 0x692c98 (200 bytes)\n// \n// 2 xrefs:\n// > CCPartAnimSprite::initWithAnimDesc @ 0x693dc0\n// > <???> @ 0xd6c30\n// \n// This function is hookable on this platform (idp: arm, 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:50:36 +0000\n// \n\n__int64 __fastcall CCSpritePart::create(CCSpritePart *this, cocos2d::CCTexture2D *a2)\n{\n  __int64 v3; // x19\n\n  v3 = operator new(0x290u);\n  cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v3);\n  *(_QWORD *)(v3 + 600) = 0;\n  *(_QWORD *)(v3 + 608) = 0;\n  *(_BYTE *)(v3 + 616) = 0;\n  *(_BYTE *)(v3 + 617) = 0;\n  *(_BYTE *)(v3 + 618) = 0;\n  *(_BYTE *)(v3 + 619) = 0;\n  *(_QWORD *)(v3 + 624) = 0;\n  *(_QWORD *)v3 = &off_1417760;\n  *(_QWORD *)(v3 + 320) = &off_1417C58;\n  *(_QWORD *)(v3 + 344) = &off_1417CD8;\n  *(_QWORD *)(v3 + 632) = 0;\n  *(_QWORD *)(v3 + 640) = 0;\n  *(_QWORD *)(v3 + 648) = 0;\n  if ( (unsigned __int8)CCSpritePlus::initWithTexture((CCSpritePlus *)v3, this) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);\n    return v3;\n  }\n  else\n  {\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 16LL))(v3);\n    return 0;\n  }\n}", "assembly": "; \n; CCSpritePart::create from 0x692bd0 to 0x692c98 (200 bytes)\n; \n; 2 xrefs:\n; > CCPartAnimSprite::initWithAnimDesc @ 0x693dc0\n; > <???> @ 0xd6c30\n; \n; This function is hookable on this platform (idp: arm, 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:50:36 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x692bd0\nMOV             X29, SP                                                ; +0x4, 0x692bd4\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x692bd8\nMOV             X20, X0                                                ; +0xc, 0x692bdc\nMOV             X0, #0x290; unsigned __int64                           ; +0x10, 0x692be0\nBL              _Znwm; operator new(ulong)                             ; +0x14, 0x692be4\nMOV             X19, X0                                                ; +0x18, 0x692be8\nBL              _ZN7cocos2d8CCSpriteC2Ev; cocos2d::CCSprite::CCSprite(void) ; +0x1c, 0x692bec\nADRP            X2, #_ZTV12CCSpritePart_ptr@PAGE                       ; +0x20, 0x692bf0\nSTR             XZR, [X19,#0x258]                                      ; +0x24, 0x692bf4\nSTR             XZR, [X19,#0x260]                                      ; +0x28, 0x692bf8\nMOV             X0, X19; this                                          ; +0x2c, 0x692bfc\nSTRB            WZR, [X19,#0x268]                                      ; +0x30, 0x692c00\nMOV             X1, X20; cocos2d::CCTexture2D *                        ; +0x34, 0x692c04\nSTRB            WZR, [X19,#0x269]                                      ; +0x38, 0x692c08\nSTRB            WZR, [X19,#0x26A]                                      ; +0x3c, 0x692c0c\nLDR             X2, [X2,#_ZTV12CCSpritePart_ptr@PAGEOFF]; `vtable for'CCSpritePart ... ; +0x40, 0x692c10\nSTRB            WZR, [X19,#0x26B]                                      ; +0x44, 0x692c14\nADD             X5, X2, #0x10                                          ; +0x48, 0x692c18\nADD             X4, X2, #0x508                                         ; +0x4c, 0x692c1c\nSTR             XZR, [X19,#0x270]                                      ; +0x50, 0x692c20\nADD             X2, X2, #0x588                                         ; +0x54, 0x692c24\nSTR             X5, [X19]                                              ; +0x58, 0x692c28\nSTR             X4, [X19,#0x140]                                       ; +0x5c, 0x692c2c\nSTR             X2, [X19,#0x158]                                       ; +0x60, 0x692c30\nSTR             XZR, [X19,#0x278]                                      ; +0x64, 0x692c34\nSTR             XZR, [X19,#0x280]                                      ; +0x68, 0x692c38\nSTR             XZR, [X19,#0x288]                                      ; +0x6c, 0x692c3c\nBL              _ZN12CCSpritePlus15initWithTextureEPN7cocos2d11CCTexture2DE; CCSpritePlus::initWithTexture(cocos2d::CCTexture2D *) ; +0x70, 0x692c40\nUXTB            W0, W0                                                 ; +0x74, 0x692c44\nCBZ             W0, loc_692C64                                         ; +0x78, 0x692c48\nMOV             X0, X19; this                                          ; +0x7c, 0x692c4c\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x80, 0x692c50\nMOV             X0, X19                                                ; +0x84, 0x692c54\nLDP             X19, X20, [SP,#var_s10]                                ; +0x88, 0x692c58\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x8c, 0x692c5c\nRET                                                                    ; +0x90, 0x692c60\nLDR             X1, [X19]                                              ; +0x94, 0x692c64\nMOV             X0, X19                                                ; +0x98, 0x692c68\nLDR             X1, [X1,#0x10]                                         ; +0x9c, 0x692c6c\nBLR             X1                                                     ; +0xa0, 0x692c70\nMOV             X0, #0                                                 ; +0xa4, 0x692c74\nLDP             X19, X20, [SP,#var_s10]                                ; +0xa8, 0x692c78\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xac, 0x692c7c\nRET                                                                    ; +0xb0, 0x692c80\nMOV             X20, X0                                                ; +0xb4, 0x692c84\nMOV             X0, X19; void *                                        ; +0xb8, 0x692c88\nBL              _ZdlPv; operator delete(void *)                        ; +0xbc, 0x692c8c\nMOV             X0, X20                                                ; +0xc0, 0x692c90\nBL              _Unwind_Resume                                         ; +0xc4, 0x692c94", "xrefs": ["CCPartAnimSprite::initWithAnimDesc @ 0x693dc0", "<???> @ 0xd6c30"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}