{"type": "func", "start": 5372561040, "end": 5372561203, "name": "GJRobotSprite::dGJRobotSprite", "pseudocode": "// \n// GJRobotSprite::dGJRobotSprite from 0x1403ac690 to 0x1403ac733 (163 bytes)\n// \n// 3 xrefs:\n// > sub_1403AC5F0 @ 0x1403ac5ff\n// > GJSpiderSprite::dGJSpiderSprite @ 0x1403ac665\n// > <???> @ 0x140923ac8\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:31:21 +0000\n// \n\nvoid __fastcall GJRobotSprite::dGJRobotSprite(__int64 a1)\n{\n  cocos2d::CCObject *v2; // rcx\n  cocos2d::CCObject *v3; // rcx\n  __int64 *v4; // rcx\n  void *v5; // rax\n\n  *(_QWORD *)a1 = &GJRobotSprite::`vftable';\n  *(_QWORD *)(a1 + 320) = &GJRobotSprite::`vftable';\n  *(_QWORD *)(a1 + 344) = &GJRobotSprite::`vftable';\n  v2 = *(cocos2d::CCObject **)(a1 + 760);\n  if ( v2 )\n    cocos2d::CCObject::release(v2);\n  v3 = *(cocos2d::CCObject **)(a1 + 744);\n  if ( v3 )\n    cocos2d::CCObject::release(v3);\n  v4 = (__int64 *)qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v5 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v5);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v4 = (__int64 *)qword_14090BFD0;\n  }\n  GameManager::unloadIcons(v4, *(_DWORD *)(a1 + 788));\n  CCAnimatedSprite::dCCAnimatedSprite((cocos2d::CCSprite *)a1);\n}", "assembly": "; \n; GJRobotSprite::dGJRobotSprite from 0x1403ac690 to 0x1403ac733 (163 bytes)\n; \n; 3 xrefs:\n; > sub_1403AC5F0 @ 0x1403ac5ff\n; > GJSpiderSprite::dGJSpiderSprite @ 0x1403ac665\n; > <???> @ 0x140923ac8\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:31:21 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403ac690\nsub     rsp, 20h                                                       ; +0x2, 0x1403ac692\nmov     rbx, rcx                                                       ; +0x6, 0x1403ac696\nlea     rax, ??_7GJRobotSprite@@6B@; const GJRobotSprite::`vftable'    ; +0x9, 0x1403ac699\nmov     [rcx], rax                                                     ; +0x10, 0x1403ac6a0\nlea     rax, ??_7GJRobotSprite@@6B@_0; const GJRobotSprite::`vftable'  ; +0x13, 0x1403ac6a3\nmov     [rcx+140h], rax                                                ; +0x1a, 0x1403ac6aa\nlea     rax, ??_7GJRobotSprite@@6B@_1; const GJRobotSprite::`vftable'  ; +0x21, 0x1403ac6b1\nmov     [rcx+158h], rax                                                ; +0x28, 0x1403ac6b8\nmov     rcx, [rcx+2F8h]                                                ; +0x2f, 0x1403ac6bf\ntest    rcx, rcx                                                       ; +0x36, 0x1403ac6c6\njz      short loc_1403AC6D1                                            ; +0x39, 0x1403ac6c9\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x3b, 0x1403ac6cb\nmov     rcx, [rbx+2E8h]                                                ; +0x41, 0x1403ac6d1\ntest    rcx, rcx                                                       ; +0x48, 0x1403ac6d8\njz      short loc_1403AC6E3                                            ; +0x4b, 0x1403ac6db\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x4d, 0x1403ac6dd\nmov     rcx, cs:qword_14090BFD0                                        ; +0x53, 0x1403ac6e3\ntest    rcx, rcx                                                       ; +0x5a, 0x1403ac6ea\njnz     short loc_1403AC71B                                            ; +0x5d, 0x1403ac6ed\nmov     ecx, 6E8h; Size                                                ; +0x5f, 0x1403ac6ef\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x64, 0x1403ac6f4\nmov     rcx, rax                                                       ; +0x69, 0x1403ac6f9\ncall    GameManager__GameManager                                       ; +0x6c, 0x1403ac6fc\nmov     cs:qword_14090BFD0, rax                                        ; +0x71, 0x1403ac701\nmov     rcx, [rax]                                                     ; +0x78, 0x1403ac708\nmov     rdx, [rcx+48h]                                                 ; +0x7b, 0x1403ac70b\nmov     rcx, rax                                                       ; +0x7f, 0x1403ac70f\ncall    rdx                                                            ; +0x82, 0x1403ac712\nmov     rcx, cs:qword_14090BFD0                                        ; +0x84, 0x1403ac714\nmov     edx, [rbx+314h]                                                ; +0x8b, 0x1403ac71b\ncall    GameManager__unloadIcons                                       ; +0x91, 0x1403ac721\nmov     rcx, rbx                                                       ; +0x96, 0x1403ac726\nadd     rsp, 20h                                                       ; +0x99, 0x1403ac729\npop     rbx                                                            ; +0x9d, 0x1403ac72d\njmp     CCAnimatedSprite__dCCAnimatedSprite                            ; +0x9e, 0x1403ac72e", "xrefs": ["sub_1403AC5F0 @ 0x1403ac5ff", "GJSpiderSprite::dGJSpiderSprite @ 0x1403ac665", "<???> @ 0x140923ac8"], "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"}