// // GJRobotSprite::create from 0x1005dbc50 to 0x1005dbd6c (284 bytes) // // 4 xrefs: // > GJGarageLayer::init @ 0x100369d8a // > SimplePlayer::createRobotSprite @ 0x10036ad66 // > SimplePlayer::updatePlayerFrame @ 0x10036b150 // > PlayerObject::createRobot @ 0x1003fc0c7 // // 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 // GJRobotSprite *__fastcall GJRobotSprite::create(int a1) { __int64 v1; // rsi char *v2; // rbx char v3; // r14 char v5[16]; // [rsp+8h] [rbp-28h] 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; *(_QWORD *)v2 = off_100974C00; *((_QWORD *)v2 + 40) = off_1009750F0; *((_QWORD *)v2 + 43) = off_100975170; v2[728] = 0; *(_DWORD *)(v2 + 729) = -1; *(_WORD *)(v2 + 733) = -1; *((_QWORD *)v2 + 97) = 0; *((_OWORD *)v2 + 46) = 0; *((_OWORD *)v2 + 47) = 0; *((_DWORD *)v2 + 190) = 5; strcpy(v5, "\nRobot"); v3 = GJRobotSprite::init(v2, (unsigned int)a1, v5); if ( (v5[0] & 1) != 0 ) operator delete(__p); if ( v3 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return (GJRobotSprite *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source