{"type": "func", "start": 4298867844, "end": 4298867984, "name": "GJPathSprite::create", "pseudocode": "// \n// GJPathSprite::create from 0x1003b8484 to 0x1003b8510 (140 bytes)\n// \n// 5 xrefs:\n// > GJItemIcon::init @ 0x100307d90\n// > GJPathsLayer::init @ 0x1003b833c\n// > GJPathPage::init @ 0x1003b905c\n// > GJPathPage::playUnlockAnimation @ 0x1003ba448\n// > GJPathPage::unlockAnimationStep3 @ 0x1003baf4c\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\nGJPathSprite *__fastcall GJPathSprite::create(int a1)\n{\n  GJPathSprite *v2; // x19\n\n  v2 = (GJPathSprite *)operator new(0x258u);\n  bzero(v2, 0x258u);\n  cocos2d::CCSprite::CCSprite((__int64)v2);\n  v2->CCSpriteCOpacity::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJPathSprite_vtbl *)&off_100810BA0;\n  v2->CCSpriteCOpacity::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100811078;\n  v2->CCSpriteCOpacity::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1008110F8;\n  if ( GJPathSprite::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    ((void (__fastcall *)(GJPathSprite *))v2->~GJPathSprite_0)(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; GJPathSprite::create from 0x1003b8484 to 0x1003b8510 (140 bytes)\n; \n; 5 xrefs:\n; > GJItemIcon::init @ 0x100307d90\n; > GJPathsLayer::init @ 0x1003b833c\n; > GJPathPage::init @ 0x1003b905c\n; > GJPathPage::playUnlockAnimation @ 0x1003ba448\n; > GJPathPage::unlockAnimationStep3 @ 0x1003baf4c\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, 0x1003b8484\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003b8488\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003b848c\nMOV             X20, X0                                                ; +0xc, 0x1003b8490\nMOV             W0, #0x258; __sz                                       ; +0x10, 0x1003b8494\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1003b8498\nMOV             X19, X0                                                ; +0x18, 0x1003b849c\nMOV             W1, #0x258; size_t                                     ; +0x1c, 0x1003b84a0\nBL              _bzero                                                 ; +0x20, 0x1003b84a4\nMOV             X0, X19                                                ; +0x24, 0x1003b84a8\nBL              cocos2d__CCSprite__CCSprite                            ; +0x28, 0x1003b84ac\nADRL            X8, unk_100810B90                                      ; +0x2c, 0x1003b84b0\nADD             X9, X8, #(off_100810BA0 - 0x100810B90)                 ; +0x34, 0x1003b84b8\nSTR             X9, [X19]                                              ; +0x38, 0x1003b84bc\nADD             X9, X8, #(off_100811078 - 0x100810B90)                 ; +0x3c, 0x1003b84c0\nSTR             X9, [X19,#0x140]                                       ; +0x40, 0x1003b84c4\nADD             X8, X8, #(off_1008110F8 - 0x100810B90)                 ; +0x44, 0x1003b84c8\nSTR             X8, [X19,#0x158]                                       ; +0x48, 0x1003b84cc\nMOV             X0, X19                                                ; +0x4c, 0x1003b84d0\nMOV             X1, X20                                                ; +0x50, 0x1003b84d4\nBL              GJPathSprite__init                                     ; +0x54, 0x1003b84d8\nCBZ             W0, loc_1003B84EC                                      ; +0x58, 0x1003b84dc\nMOV             X0, X19                                                ; +0x5c, 0x1003b84e0\nBL              cocos2d__CCObject__autorelease                         ; +0x60, 0x1003b84e4\nB               loc_1003B8500                                          ; +0x64, 0x1003b84e8\nLDR             X8, [X19]                                              ; +0x68, 0x1003b84ec\nLDR             X8, [X8,#0x10]                                         ; +0x6c, 0x1003b84f0\nMOV             X0, X19                                                ; +0x70, 0x1003b84f4\nBLR             X8                                                     ; +0x74, 0x1003b84f8\nMOV             X19, #0                                                ; +0x78, 0x1003b84fc\nMOV             X0, X19                                                ; +0x7c, 0x1003b8500\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x80, 0x1003b8504\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x84, 0x1003b8508\nRET                                                                    ; +0x88, 0x1003b850c", "xrefs": ["GJItemIcon::init @ 0x100307d90", "GJPathsLayer::init @ 0x1003b833c", "GJPathPage::init @ 0x1003b905c", "GJPathPage::playUnlockAnimation @ 0x1003ba448", "GJPathPage::unlockAnimationStep3 @ 0x1003baf4c"], "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"}