{"type": "func", "start": 5371304816, "end": 5371304947, "name": "SimplePlayer::createSpiderSprite", "pseudocode": "// \n// SimplePlayer::createSpiderSprite from 0x140279b70 to 0x140279bf3 (131 bytes)\n// \n// 5 xrefs:\n// > GJGarageLayer::init @ 0x140273a44\n// > SimplePlayer::updatePlayerFrame @ 0x14027a3a9\n// > <???> @ 0x140687520\n// > <???> @ 0x140687530\n// > <???> @ 0x1406d107c\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\nvoid SimplePlayer::createSpiderSprite(SimplePlayer *a1, int a2)\n{\n  GJSpiderSprite *v3; // rax\n  SimplePlayer_vtbl *v4; // r8\n  float v5; // xmm0_4\n  GJSpiderSprite_vtbl *v6; // rbx\n  const cocos2d::CCPoint *v7; // rax\n\n  if ( !a1->m_spiderSprite )\n  {\n    v3 = GJSpiderSprite::create(a2);\n    v4 = a1->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    a1->m_spiderSprite = v3;\n    v4->addChild_1(a1, v3);\n    v5 = ((float (__fastcall *)(GJSpiderSprite *, _QWORD))a1->m_spiderSprite->setVisible)(a1->m_spiderSprite, 0);\n    v6 = a1->m_spiderSprite->__vftable;\n    cocos2d::CCPoint::CCPoint(v5, 0.0);\n    v6->setPosition_0(a1->m_spiderSprite, v7);\n  }\n}", "assembly": "; \n; SimplePlayer::createSpiderSprite from 0x140279b70 to 0x140279bf3 (131 bytes)\n; \n; 5 xrefs:\n; > GJGarageLayer::init @ 0x140273a44\n; > SimplePlayer::updatePlayerFrame @ 0x14027a3a9\n; > <???> @ 0x140687520\n; > <???> @ 0x140687530\n; > <???> @ 0x1406d107c\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    rdi                                                            ; +0x0, 0x140279b70\nsub     rsp, 20h                                                       ; +0x2, 0x140279b72\ncmp     qword ptr [rcx+288h], 0                                        ; +0x6, 0x140279b76\nmov     rdi, rcx                                                       ; +0xe, 0x140279b7e\njnz     short loc_140279BED                                            ; +0x11, 0x140279b81\nmov     ecx, edx                                                       ; +0x13, 0x140279b83\nmov     [rsp+28h+arg_8], rbx                                           ; +0x15, 0x140279b85\ncall    GJSpiderSprite__create                                         ; +0x1a, 0x140279b8a\nmov     r8, [rdi]                                                      ; +0x1f, 0x140279b8f\nmov     rdx, rax                                                       ; +0x22, 0x140279b92\nmov     rcx, rdi                                                       ; +0x25, 0x140279b95\nmov     [rdi+288h], rax                                                ; +0x28, 0x140279b98\ncall    qword ptr [r8+1C0h]                                            ; +0x2f, 0x140279b9f\nmov     rcx, [rdi+288h]                                                ; +0x36, 0x140279ba6\nxor     edx, edx                                                       ; +0x3d, 0x140279bad\nmov     rax, [rcx]                                                     ; +0x3f, 0x140279baf\ncall    qword ptr [rax+140h]                                           ; +0x42, 0x140279bb2\nmov     rax, [rdi+288h]                                                ; +0x48, 0x140279bb8\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x4f, 0x140279bbf\nmovss   xmm2, cs:dword_140623700                                       ; +0x54, 0x140279bc4\nxorps   xmm1, xmm1                                                     ; +0x5c, 0x140279bcc\nmov     rbx, [rax]                                                     ; +0x5f, 0x140279bcf\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x62, 0x140279bd2\nmov     rcx, [rdi+288h]                                                ; +0x68, 0x140279bd8\nmov     rdx, rax                                                       ; +0x6f, 0x140279bdf\ncall    qword ptr [rbx+0B8h]                                           ; +0x72, 0x140279be2\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x78, 0x140279be8\nadd     rsp, 20h                                                       ; +0x7d, 0x140279bed\npop     rdi                                                            ; +0x81, 0x140279bf1\nretn                                                                   ; +0x82, 0x140279bf2", "xrefs": ["GJGarageLayer::init @ 0x140273a44", "SimplePlayer::updatePlayerFrame @ 0x14027a3a9", "<???> @ 0x140687520", "<???> @ 0x140687530", "<???> @ 0x1406d107c"], "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"}