{"type": "func", "start": 4298107152, "end": 4298107281, "name": "GJPathSprite::create", "pseudocode": "// \n// GJPathSprite::create from 0x1002fe910 to 0x1002fe991 (129 bytes)\n// \n// 1 xrefs:\n// > GJItemIcon::init @ 0x100371441\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 *v1; // rbx\n\n  v1 = (GJPathSprite *)operator new(0x258u);\n  __bzero(v1, 600);\n  cocos2d::CCSprite::CCSprite((__int64)v1, 600);\n  v1->CCSpriteCOpacity::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJPathSprite_vtbl *)off_10090B6B0;\n  v1->CCSpriteCOpacity::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_10090BB88;\n  v1->CCSpriteCOpacity::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_10090BC08;\n  if ( GJPathSprite::init(v1, a1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    ((void (__fastcall *)(GJPathSprite *))v1->~GJPathSprite_0)(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; GJPathSprite::create from 0x1002fe910 to 0x1002fe991 (129 bytes)\n; \n; 1 xrefs:\n; > GJItemIcon::init @ 0x100371441\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\npush    rbp                                                            ; +0x0, 0x1002fe910\nmov     rbp, rsp                                                       ; +0x1, 0x1002fe911\npush    r14                                                            ; +0x4, 0x1002fe914\npush    rbx                                                            ; +0x6, 0x1002fe916\nmov     r14d, edi                                                      ; +0x7, 0x1002fe917\nmov     edi, 258h; __sz                                                ; +0xa, 0x1002fe91a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1002fe91f\nmov     rbx, rax                                                       ; +0x14, 0x1002fe924\nmov     esi, 258h                                                      ; +0x17, 0x1002fe927\nmov     rdi, rax                                                       ; +0x1c, 0x1002fe92c\ncall    ___bzero                                                       ; +0x1f, 0x1002fe92f\nmov     rdi, rbx                                                       ; +0x24, 0x1002fe934\ncall    cocos2d__CCSprite__CCSprite                                    ; +0x27, 0x1002fe937\nlea     rax, _ZTV12GJPathSprite; `vtable for'GJPathSprite              ; +0x2c, 0x1002fe93c\nlea     rcx, [rax+10h]                                                 ; +0x33, 0x1002fe943\nmov     [rbx], rcx                                                     ; +0x37, 0x1002fe947\nlea     rcx, [rax+4E8h]                                                ; +0x3a, 0x1002fe94a\nmov     [rbx+140h], rcx                                                ; +0x41, 0x1002fe951\nadd     rax, 568h                                                      ; +0x48, 0x1002fe958\nmov     [rbx+158h], rax                                                ; +0x4e, 0x1002fe95e\nmov     rdi, rbx                                                       ; +0x55, 0x1002fe965\nmov     esi, r14d                                                      ; +0x58, 0x1002fe968\ncall    GJPathSprite__init                                             ; +0x5b, 0x1002fe96b\ntest    al, al                                                         ; +0x60, 0x1002fe970\njz      short loc_1002FE97E                                            ; +0x62, 0x1002fe972\nmov     rdi, rbx                                                       ; +0x64, 0x1002fe974\ncall    cocos2d__CCObject__autorelease                                 ; +0x67, 0x1002fe977\njmp     short loc_1002FE989                                            ; +0x6c, 0x1002fe97c\nmov     rax, [rbx]                                                     ; +0x6e, 0x1002fe97e\nmov     rdi, rbx                                                       ; +0x71, 0x1002fe981\ncall    qword ptr [rax+10h]                                            ; +0x74, 0x1002fe984\nxor     ebx, ebx                                                       ; +0x77, 0x1002fe987\nmov     rax, rbx                                                       ; +0x79, 0x1002fe989\npop     rbx                                                            ; +0x7c, 0x1002fe98c\npop     r14                                                            ; +0x7d, 0x1002fe98d\npop     rbp                                                            ; +0x7f, 0x1002fe98f\nretn                                                                   ; +0x80, 0x1002fe990", "xrefs": ["GJItemIcon::init @ 0x100371441"], "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"}