// // PlayerObject::createSpider from 0x75e384 to 0x75e678 (756 bytes) // // 4 xrefs: // > PlayerObject::updatePlayerSpiderFrame @ 0x75e68c // > PlayerObject::updatePlayerSpiderFrame @ 0x75e694 // > PlayerObject::init @ 0x767690 // > @ 0x56878 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:53:02 +0000 // __int64 __fastcall PlayerObject::createSpider(PlayerObject *this, unsigned int a2) { char v2; // w25 char v3; // w26 char v4; // w27 char v5; // w28 _BOOL4 v8; // w21 int v9; // w1 __int64 v10; // x1 unsigned __int8 v11; // w0 __int64 v12; // x1 __int64 v13; // x0 __int64 *v14; // x2 __int64 v15; // x0 size_t v16; // x1 __int64 v17; // x1 __int64 v18; // x0 cocos2d::CCSpriteBatchNode *v19; // x0 unsigned int v20; // w2 __int64 v21; // x0 _BYTE *v22; // x0 _BYTE *v23; // x0 __int64 v24; // x22 int v26; // [xsp+64h] [xbp+64h] char v27; // [xsp+68h] [xbp+68h] char v28; // [xsp+6Ch] [xbp+6Ch] __int64 v29; // [xsp+70h] [xbp+70h] BYREF size_t v30; // [xsp+78h] [xbp+78h] void *v31; // [xsp+80h] [xbp+80h] __int64 v32; // [xsp+88h] [xbp+88h] BYREF size_t v33; // [xsp+90h] [xbp+90h] void *v34; // [xsp+98h] [xbp+98h] __int64 v35; // [xsp+A0h] [xbp+A0h] BYREF size_t v36; // [xsp+A8h] [xbp+A8h] void *v37; // [xsp+B0h] [xbp+B0h] v8 = *((_QWORD *)this + 268) != 0; v29 = 0; v30 = 0; v31 = nullptr; std::string::__init(&v29, &byte_11B8890, 0); if ( v8 ) { v10 = *((_QWORD *)this + 268); v5 = *(_BYTE *)(v10 + 729); v4 = *(_BYTE *)(v10 + 730); v3 = *(_BYTE *)(v10 + 731); v2 = *(_BYTE *)(v10 + 732); v27 = *(_BYTE *)(v10 + 733); v28 = *(_BYTE *)(v10 + 734); v11 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v10 + 744) + 352LL))(*(_QWORD *)(v10 + 744)); v12 = *((_QWORD *)this + 268); v26 = v11; v32 = 0; v13 = *(_QWORD *)(v12 + 648); v33 = 0; v14 = (__int64 *)(v13 + 400); v34 = nullptr; if ( (*(_BYTE *)(v13 + 400) & 1) != 0 ) { std::string::__init(&v32, *(void **)(v13 + 416), *(_QWORD *)(v13 + 408)); } else { v15 = *v14; v16 = v14[1]; v34 = (void *)v14[2]; v32 = v15; v33 = v16; } if ( (v29 & 1) != 0 ) { *(_BYTE *)v31 = 0; v30 = 0; } else { LOWORD(v29) = 0; } std::string::reserve(&v29, 0); v17 = *((_QWORD *)this + 373); v31 = v34; v29 = v32; v30 = v33; (*(void (__fastcall **)(__int64))(*(_QWORD *)v17 + 536LL))(v17); cocos2d::CCObject::release(*((cocos2d::CCObject **)this + 373)); *((_QWORD *)this + 268) = 0; } v18 = GJSpiderSprite::create((GJSpiderSprite *)a2, v9); *((_QWORD *)this + 268) = v18; *(_QWORD *)(v18 + 712) = (char *)this + 1352; v19 = (cocos2d::CCSpriteBatchNode *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 268) + 1072LL))(*((_QWORD *)this + 268)); v21 = cocos2d::CCSpriteBatchNode::createWithTexture(v19, (cocos2d::CCTexture2D *)((char *)&off_18 + 1), v20); *((_QWORD *)this + 373) = v21; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v21 + 456LL))(v21, *((_QWORD *)this + 268)); cocos2d::CCObject::retain(*((cocos2d::CCObject **)this + 373)); if ( v8 ) { if ( *((_BYTE *)this + 2422) ) (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 170) + 464LL))( *((_QWORD *)this + 170), *((_QWORD *)this + 373), 2); v22 = *((_BYTE **)this + 268); v22[729] = v5; v22[730] = v4; v22[731] = v3; v23 = *((_BYTE **)this + 268); v23[733] = v27; v23[732] = v2; v23[734] = v28; GJRobotSprite::updateColors(*((GJRobotSprite **)this + 268)); GJRobotSprite::updateGlowColor(*((_QWORD *)this + 268), *(_QWORD *)((char *)this + 2605), 0); v35 = 0; v36 = 0; v37 = nullptr; v24 = *((_QWORD *)this + 268); if ( (v29 & 1) != 0 ) { std::string::__init(&v35, v31, v30); } else { v35 = v29; v36 = v30; v37 = v31; } CCAnimatedSprite::runAnimation(v24, (char *)&v35); if ( (v35 & 1) != 0 ) operator delete(v37); if ( v26 ) GJRobotSprite::showGlow(*((GJRobotSprite **)this + 268)); } if ( (v29 & 1) != 0 ) operator delete(v31); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source