{"type": "func", "start": 4295484812, "end": 4295484932, "name": "CCPartAnimSprite::createWithAnimDesc", "pseudocode": "// \n// CCPartAnimSprite::createWithAnimDesc from 0x10007e58c to 0x10007e604 (120 bytes)\n// \n// 1 xrefs:\n// > CCAnimatedSprite::loadType @ 0x1002fd70c\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\nCCPartAnimSprite *__fastcall CCPartAnimSprite::createWithAnimDesc(const char *a1, cocos2d::CCTexture2D *a2, bool a3)\n{\n  CCPartAnimSprite *v6; // x19\n\n  v6 = (CCPartAnimSprite *)operator new(0x280u);\n  CCPartAnimSprite::CCPartAnimSprite(v6);\n  if ( CCPartAnimSprite::initWithAnimDesc(v6, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease(v6);\n  }\n  else\n  {\n    ((void (__fastcall *)(CCPartAnimSprite *))v6->~CCPartAnimSprite_0)(v6);\n    return nullptr;\n  }\n  return v6;\n}", "assembly": "; \n; CCPartAnimSprite::createWithAnimDesc from 0x10007e58c to 0x10007e604 (120 bytes)\n; \n; 1 xrefs:\n; > CCAnimatedSprite::loadType @ 0x1002fd70c\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10007e58c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10007e590\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10007e594\nADD             X29, SP, #0x20                                         ; +0xc, 0x10007e598\nMOV             X20, X2                                                ; +0x10, 0x10007e59c\nMOV             X21, X1                                                ; +0x14, 0x10007e5a0\nMOV             X22, X0                                                ; +0x18, 0x10007e5a4\nMOV             W0, #0x280; __sz                                       ; +0x1c, 0x10007e5a8\nBL              __Znwm; operator new(ulong)                            ; +0x20, 0x10007e5ac\nMOV             X19, X0                                                ; +0x24, 0x10007e5b0\nBL              CCPartAnimSprite__CCPartAnimSprite                     ; +0x28, 0x10007e5b4\nMOV             X0, X19                                                ; +0x2c, 0x10007e5b8\nMOV             X1, X22                                                ; +0x30, 0x10007e5bc\nMOV             X2, X21                                                ; +0x34, 0x10007e5c0\nMOV             X3, X20                                                ; +0x38, 0x10007e5c4\nBL              CCPartAnimSprite__initWithAnimDesc                     ; +0x3c, 0x10007e5c8\nCBZ             W0, loc_10007E5DC                                      ; +0x40, 0x10007e5cc\nMOV             X0, X19                                                ; +0x44, 0x10007e5d0\nBL              cocos2d__CCObject__autorelease                         ; +0x48, 0x10007e5d4\nB               loc_10007E5F0                                          ; +0x4c, 0x10007e5d8\nLDR             X8, [X19]                                              ; +0x50, 0x10007e5dc\nLDR             X8, [X8,#0x10]                                         ; +0x54, 0x10007e5e0\nMOV             X0, X19                                                ; +0x58, 0x10007e5e4\nBLR             X8                                                     ; +0x5c, 0x10007e5e8\nMOV             X19, #0                                                ; +0x60, 0x10007e5ec\nMOV             X0, X19                                                ; +0x64, 0x10007e5f0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x68, 0x10007e5f4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x6c, 0x10007e5f8\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x70, 0x10007e5fc\nRET                                                                    ; +0x74, 0x10007e600", "xrefs": ["CCAnimatedSprite::loadType @ 0x1002fd70c"], "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"}