{"type": "func", "start": 4299551120, "end": 4299551260, "name": "GJPathSprite::create", "pseudocode": "// \n// GJPathSprite::create from 0x10045f190 to 0x10045f21c (140 bytes)\n// \n// 5 xrefs:\n// > GJItemIcon::init @ 0x1003a4aa8\n// > GJPathsLayer::init @ 0x10045f048\n// > sub_10045F6C4 @ 0x10045fd14\n// > GJPathPage::playUnlockAnimation @ 0x100461100\n// > GJPathPage::unlockAnimationStep3 @ 0x100461c04\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 11:05:28 +0000\n// \n\n_QWORD *__fastcall GJPathSprite::create(__int64 a1)\n{\n  _QWORD *v2; // x19\n\n  v2 = operator new(0x258u);\n  bzero(v2, 0x258u);\n  cocos2d::CCSprite::CCSprite((__int64)v2);\n  *v2 = &off_100969CB8;\n  v2[40] = off_10096A1A0;\n  v2[43] = off_10096A220;\n  if ( (unsigned int)sub_100462308(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; GJPathSprite::create from 0x10045f190 to 0x10045f21c (140 bytes)\n; \n; 5 xrefs:\n; > GJItemIcon::init @ 0x1003a4aa8\n; > GJPathsLayer::init @ 0x10045f048\n; > sub_10045F6C4 @ 0x10045fd14\n; > GJPathPage::playUnlockAnimation @ 0x100461100\n; > GJPathPage::unlockAnimationStep3 @ 0x100461c04\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 11:05:28 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10045f190\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10045f194\nADD             X29, SP, #0x10                                         ; +0x8, 0x10045f198\nMOV             X20, X0                                                ; +0xc, 0x10045f19c\nMOV             W0, #0x258; __sz                                       ; +0x10, 0x10045f1a0\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x10045f1a4\nMOV             X19, X0                                                ; +0x18, 0x10045f1a8\nMOV             W1, #0x258; size_t                                     ; +0x1c, 0x10045f1ac\nBL              _bzero                                                 ; +0x20, 0x10045f1b0\nMOV             X0, X19                                                ; +0x24, 0x10045f1b4\nBL              cocos2d__CCSprite__CCSprite                            ; +0x28, 0x10045f1b8\nADRL            X8, unk_100969CA8                                      ; +0x2c, 0x10045f1bc\nADD             X9, X8, #(off_100969CB8 - 0x100969CA8)                 ; +0x34, 0x10045f1c4\nSTR             X9, [X19]                                              ; +0x38, 0x10045f1c8\nADD             X9, X8, #(off_10096A1A0 - 0x100969CA8)                 ; +0x3c, 0x10045f1cc\nSTR             X9, [X19,#0x140]                                       ; +0x40, 0x10045f1d0\nADD             X8, X8, #(off_10096A220 - 0x100969CA8)                 ; +0x44, 0x10045f1d4\nSTR             X8, [X19,#0x158]                                       ; +0x48, 0x10045f1d8\nMOV             X0, X19                                                ; +0x4c, 0x10045f1dc\nMOV             X1, X20                                                ; +0x50, 0x10045f1e0\nBL              sub_100462308                                          ; +0x54, 0x10045f1e4\nCBZ             W0, loc_10045F1F8                                      ; +0x58, 0x10045f1e8\nMOV             X0, X19                                                ; +0x5c, 0x10045f1ec\nBL              cocos2d__CCObject__autorelease                         ; +0x60, 0x10045f1f0\nB               loc_10045F20C                                          ; +0x64, 0x10045f1f4\nLDR             X8, [X19]                                              ; +0x68, 0x10045f1f8\nLDR             X8, [X8,#0x10]                                         ; +0x6c, 0x10045f1fc\nMOV             X0, X19                                                ; +0x70, 0x10045f200\nBLR             X8                                                     ; +0x74, 0x10045f204\nMOV             X19, #0                                                ; +0x78, 0x10045f208\nMOV             X0, X19                                                ; +0x7c, 0x10045f20c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x80, 0x10045f210\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x84, 0x10045f214\nRET                                                                    ; +0x88, 0x10045f218", "xrefs": ["GJItemIcon::init @ 0x1003a4aa8", "GJPathsLayer::init @ 0x10045f048", "sub_10045F6C4 @ 0x10045fd14", "GJPathPage::playUnlockAnimation @ 0x100461100", "GJPathPage::unlockAnimationStep3 @ 0x100461c04"], "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"}