// // cocos2d::CCDrawNode::is_segment_on_screen from 0x7cca88 to 0x7ccb54 (204 bytes) // // 1 xrefs: // > cocos2d::CCDrawNode::drawSegmentEx @ 0x7ccb78 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:00:32 +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; // s15 float v5; // s13 float v6; // s14 float v7; // s12 float v8; // s15 float v9; // s15 bool v10; // fnf float v11; // s14 float v12; // s14 v4 = *(float *)a3; v5 = *(float *)a4; v6 = *((float *)a3 + 1); v7 = *((float *)a4 + 1); if ( fabsf(*(float *)a3 - *(float *)a4) < fabsf(v6 - v7) ) { if ( v4 >= *((float *)this + 82) && v4 <= *((float *)this + 83) ) { v8 = *((float *)this + 84); if ( v6 <= v8 || v7 <= v8 ) { v9 = *((float *)this + 85); if ( v6 < v9 ) { v10 = v7 < v9; return !v10; } return 1; } } return 0; } if ( v6 < *((float *)this + 85) ) return 0; if ( v6 > *((float *)this + 84) ) return 0; v11 = *((float *)this + 83); if ( v4 > v11 && v5 > v11 ) return 0; v12 = *((float *)this + 82); if ( v4 >= v12 ) return 1; v10 = v5 < v12; return !v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source