// // EditorUI::positionIsInSnapped from 0x688f64 to 0x689008 (164 bytes) // // 2 xrefs: // > EditorUI::onCreateObject @ 0x6c01fc // > @ 0xbc6e8 // // 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 // bool EditorUI::positionIsInSnapped(EditorUI *a1, cocos2d::CCPoint a2) { float *v2; // x1 float *v4; // x22 unsigned int v5; // w19 bool v6; // cf unsigned int v7; // w1 __int64 v8; // x20 float *v9; // x0 v4 = v2; v5 = 0; while ( 1 ) { v6 = v5 >= (unsigned int)cocos2d::CCArray::count(a1->m_snapPositions); v7 = v5++; if ( v6 ) break; v8 = cocos2d::CCArray::objectAtIndex(a1->m_snapPositions, v7); v9 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 192LL))(v8); if ( *v9 == *v4 && *(float *)((*(__int64 (__fastcall **)(__int64, float, float))(*(_QWORD *)v8 + 192LL))(v8, *v4, *v9) + 4) == v4[1] ) { return 1; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source