// // cocos2d::CCDrawNode::is_segment_on_screen from 0xd4c778 to 0xd4c848 (208 bytes) // // 2 xrefs: // > cocos2d::CCDrawNode::drawSegmentEx @ 0xd4c8b0 // > @ 0xe7ee0 // // 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 13:07:38 +0000 // bool __fastcall cocos2d::CCDrawNode::is_segment_on_screen( cocos2d::CCDrawNode *this, const cocos2d::CCRect *a2, const cocos2d::CCPoint *a3, const cocos2d::CCPoint *a4) { float v4; // s0 float v5; // s2 float v6; // s1 float v7; // s3 float v8; // s0 float v10; // s1 v4 = *(float *)a3; v5 = *(float *)a4; v6 = *((float *)a3 + 1); v7 = *((float *)a4 + 1); if ( vabds_f32(*(float *)a3, *(float *)a4) >= vabds_f32(v6, v7) ) { if ( v6 < *((float *)this + 102) ) return 0; if ( v6 > *((float *)this + 101) ) return 0; v10 = *((float *)this + 100); if ( v4 > v10 && v5 > v10 ) return 0; return v4 >= *((float *)this + 99) || v5 >= *((float *)this + 99); } else { if ( v4 < *((float *)this + 99) ) return 0; if ( v4 > *((float *)this + 100) ) return 0; v8 = *((float *)this + 101); if ( v6 > v8 && v7 > v8 ) return 0; return v6 >= *((float *)this + 102) || v7 >= *((float *)this + 102); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source