// // EditorUI::positionIsInSnapped from 0x37d784 to 0x37d7e2 (94 bytes) // // 1 xrefs: // > EditorUI::onCreateObject @ 0x3a3ca0 // // 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 x; // r7 unsigned int i; // r4 int v5; // r5 x = a2.x; for ( i = 0; ; ++i ) { if ( i >= cocos2d::CCArray::count(a1->m_snapPositions) ) return 0; v5 = cocos2d::CCArray::objectAtIndex(a1->m_snapPositions, i); if ( *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v5 + 96))(v5) == *(float *)LODWORD(x) && *(float *)((*(int (__fastcall **)(int))(*(_DWORD *)v5 + 96))(v5) + 4) == *(float *)(LODWORD(x) + 4) ) { break; } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source