{"type": "func", "start": 4298019968, "end": 4298020097, "name": "GJPathSprite::create", "pseudocode": "// \n// GJPathSprite::create from 0x1002e9480 to 0x1002e9501 (129 bytes)\n// \n// 1 xrefs:\n// > GJItemIcon::init @ 0x10035a911\n// \n// This function is hookable on this platform (idp: pc, 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:28:22 +0000\n// \n\n_QWORD *__fastcall GJPathSprite::create(unsigned int a1)\n{\n  _QWORD *v1; // rbx\n\n  v1 = operator new(0x258u);\n  __bzero(v1, 600);\n  cocos2d::CCSprite::CCSprite((__int64)v1);\n  *v1 = off_100B13050;\n  v1[40] = off_100B13538;\n  v1[43] = off_100B135B8;\n  if ( (unsigned __int8)GJPathSprite::init(v1, a1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; GJPathSprite::create from 0x1002e9480 to 0x1002e9501 (129 bytes)\n; \n; 1 xrefs:\n; > GJItemIcon::init @ 0x10035a911\n; \n; This function is hookable on this platform (idp: pc, 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:28:22 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002e9480\nmov     rbp, rsp                                                       ; +0x1, 0x1002e9481\npush    r14                                                            ; +0x4, 0x1002e9484\npush    rbx                                                            ; +0x6, 0x1002e9486\nmov     r14d, edi                                                      ; +0x7, 0x1002e9487\nmov     edi, 258h; __sz                                                ; +0xa, 0x1002e948a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1002e948f\nmov     rbx, rax                                                       ; +0x14, 0x1002e9494\nmov     esi, 258h                                                      ; +0x17, 0x1002e9497\nmov     rdi, rax                                                       ; +0x1c, 0x1002e949c\ncall    ___bzero                                                       ; +0x1f, 0x1002e949f\nmov     rdi, rbx                                                       ; +0x24, 0x1002e94a4\ncall    cocos2d__CCSprite__CCSprite                                    ; +0x27, 0x1002e94a7\nlea     rax, _ZTV12GJPathSprite; `vtable for'GJPathSprite              ; +0x2c, 0x1002e94ac\nlea     rcx, [rax+10h]                                                 ; +0x33, 0x1002e94b3\nmov     [rbx], rcx                                                     ; +0x37, 0x1002e94b7\nlea     rcx, [rax+4F8h]                                                ; +0x3a, 0x1002e94ba\nmov     [rbx+140h], rcx                                                ; +0x41, 0x1002e94c1\nadd     rax, 578h                                                      ; +0x48, 0x1002e94c8\nmov     [rbx+158h], rax                                                ; +0x4e, 0x1002e94ce\nmov     rdi, rbx                                                       ; +0x55, 0x1002e94d5\nmov     esi, r14d                                                      ; +0x58, 0x1002e94d8\ncall    GJPathSprite__init                                             ; +0x5b, 0x1002e94db\ntest    al, al                                                         ; +0x60, 0x1002e94e0\njz      short loc_1002E94EE                                            ; +0x62, 0x1002e94e2\nmov     rdi, rbx                                                       ; +0x64, 0x1002e94e4\ncall    cocos2d__CCObject__autorelease                                 ; +0x67, 0x1002e94e7\njmp     short loc_1002E94F9                                            ; +0x6c, 0x1002e94ec\nmov     rax, [rbx]                                                     ; +0x6e, 0x1002e94ee\nmov     rdi, rbx                                                       ; +0x71, 0x1002e94f1\ncall    qword ptr [rax+10h]                                            ; +0x74, 0x1002e94f4\nxor     ebx, ebx                                                       ; +0x77, 0x1002e94f7\nmov     rax, rbx                                                       ; +0x79, 0x1002e94f9\npop     rbx                                                            ; +0x7c, 0x1002e94fc\npop     r14                                                            ; +0x7d, 0x1002e94fd\npop     rbp                                                            ; +0x7f, 0x1002e94ff\nretn                                                                   ; +0x80, 0x1002e9500", "xrefs": ["GJItemIcon::init @ 0x10035a911"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}