// // LevelCell::draw from 0x1400b1a60 to 0x1400b1b41 (225 bytes) // // 4 xrefs: // > @ 0x1405468b8 // > @ 0x14066b22c // > @ 0x14066b23c // > @ 0x1406c7a28 // // 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 // void LevelCell::draw(LevelCell *a1) { const struct cocos2d::CCPoint *v1; // rax const struct cocos2d::CCPoint *v2; // rbx cocos2d *v3; // rax const struct cocos2d::CCPoint *v4; // r8 const struct cocos2d::CCPoint *v5; // rax const struct cocos2d::CCPoint *v6; // rbx cocos2d *v7; // rax const struct cocos2d::CCPoint *v8; // r8 cocos2d::CCSize v9; // [rsp+40h] [rbp+8h] BYREF cocos2d::CCPoint v10; // [rsp+48h] [rbp+10h] BYREF cocos2d::CCPoint v11; // [rsp+50h] [rbp+18h] BYREF if ( !a1->m_cellDrawn ) { cocos2d::CCSize::CCSize(&v9, a1->m_width, a1->m_height); cocos2d::ccDrawColor4B(nullptr, 0, 0, 0x4Bu); glLineWidth(2.0); cocos2d::CCPoint::CCPoint(&v10, v9.width - 1.0, v9.height); v2 = v1; cocos2d::CCPoint::CCPoint(&v11, 1.0, v9.height); cocos2d::ccDrawLine(v3, v2, v4); cocos2d::CCPoint::CCPoint(&v10, v9.width - 1.0, 0.0); v6 = v5; cocos2d::CCPoint::CCPoint(&v11, 1.0, 0.0); cocos2d::ccDrawLine(v7, v6, v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source