// // GJSpiderSprite::create from 0x1005dd320 to 0x1005dd440 (288 bytes) // // 4 xrefs: // > GJGarageLayer::init @ 0x100369dd1 // > SimplePlayer::createSpiderSprite @ 0x10036adbb // > SimplePlayer::updatePlayerFrame @ 0x10036b33c // > PlayerObject::createSpider @ 0x1003fc462 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // GJSpiderSprite *__fastcall GJSpiderSprite::create(int a1) { __int64 v1; // rsi char *v2; // rbx bool v3; // r14 char v5; // [rsp+8h] [rbp-28h] BYREF char v6[15]; // [rsp+9h] [rbp-27h] BYREF void *__p; // [rsp+18h] [rbp-18h] v2 = (char *)operator new(0x310u); cocos2d::CCSprite::CCSprite((__int64)v2, v1); *(_OWORD *)(v2 + 664) = 0; *(_OWORD *)(v2 + 648) = 0; *(_OWORD *)(v2 + 632) = 0; *(_OWORD *)(v2 + 616) = 0; *(_OWORD *)(v2 + 600) = 0; *((_DWORD *)v2 + 170) = 0; *((_OWORD *)v2 + 43) = 0; *((_OWORD *)v2 + 44) = 0; v2[728] = 0; *(_DWORD *)(v2 + 729) = -1; *(_WORD *)(v2 + 733) = -1; *((_QWORD *)v2 + 97) = 0; *((_OWORD *)v2 + 46) = 0; *((_OWORD *)v2 + 47) = 0; *(_QWORD *)v2 = off_1009751B8; *((_QWORD *)v2 + 40) = off_1009756A8; *((_QWORD *)v2 + 43) = off_100975728; *((_DWORD *)v2 + 190) = 6; v5 = 12; strcpy(v6, "Spider"); v3 = GJRobotSprite::init((__int64)v2, a1, (__int64)&v5); if ( (v5 & 1) != 0 ) operator delete(__p); if ( v3 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return (GJSpiderSprite *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source