{"type": "func", "start": 5374352432, "end": 5374352523, "name": "GJChestSprite::dGJChestSprite", "pseudocode": "// \n// GJChestSprite::dGJChestSprite from 0x140561c30 to 0x140561c8b (91 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407dbd38\n// > <???> @ 0x14092c498\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 11:34:15 +0000\n// \n\ncocos2d::CCSprite *__fastcall GJChestSprite::dGJChestSprite(cocos2d::CCSprite *Block, char a2)\n{\n  *(_QWORD *)Block = &GJChestSprite::`vftable';\n  *((_QWORD *)Block + 40) = &GJChestSprite::`vftable';\n  *((_QWORD *)Block + 43) = &GJChestSprite::`vftable';\n  cocos2d::CCSprite::~CCSprite(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; GJChestSprite::dGJChestSprite from 0x140561c30 to 0x140561c8b (91 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407dbd38\n; > <???> @ 0x14092c498\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 11:34:15 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140561c30\npush    rdi                                                            ; +0x5, 0x140561c35\nsub     rsp, 20h                                                       ; +0x6, 0x140561c36\nlea     rax, ??_7GJChestSprite@@6B@; const GJChestSprite::`vftable'    ; +0xa, 0x140561c3a\nmov     ebx, edx                                                       ; +0x11, 0x140561c41\nmov     [rcx], rax                                                     ; +0x13, 0x140561c43\nmov     rdi, rcx                                                       ; +0x16, 0x140561c46\nlea     rax, ??_7GJChestSprite@@6B@_0; const GJChestSprite::`vftable'  ; +0x19, 0x140561c49\nmov     [rcx+140h], rax                                                ; +0x20, 0x140561c50\nlea     rax, ??_7GJChestSprite@@6B@_1; const GJChestSprite::`vftable'  ; +0x27, 0x140561c57\nmov     [rcx+158h], rax                                                ; +0x2e, 0x140561c5e\ncall    cs:__imp_??1CCSprite@cocos2d@@UEAA@XZ; cocos2d::CCSprite::~CCSprite(void) ; +0x35, 0x140561c65\ntest    bl, 1                                                          ; +0x3b, 0x140561c6b\njz      short loc_140561C7D                                            ; +0x3e, 0x140561c6e\nmov     edx, 268h                                                      ; +0x40, 0x140561c70\nmov     rcx, rdi; Block                                                ; +0x45, 0x140561c75\ncall    j_j_free                                                       ; +0x48, 0x140561c78\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4d, 0x140561c7d\nmov     rax, rdi                                                       ; +0x52, 0x140561c82\nadd     rsp, 20h                                                       ; +0x55, 0x140561c85\npop     rdi                                                            ; +0x59, 0x140561c89\nretn                                                                   ; +0x5a, 0x140561c8a", "xrefs": ["<???> @ 0x1407dbd38", "<???> @ 0x14092c498"], "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"}