// // EditorUI::positionIsInSnapped from 0x100477a64 to 0x100477b08 (164 bytes) // // 1 xrefs: // > EditorUI::onCreateObject @ 0x10047729c // // 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 11:05:41 +0000 // __int64 __fastcall EditorUI::positionIsInSnapped(__int64 a1, float *a2) { __int64 result; // x0 unsigned int v5; // w21 __int64 v6; // x22 float *v7; // x0 result = sub_1002E757C(*(_QWORD *)(a1 + 880)); if ( (_DWORD)result ) { v5 = 0; while ( 1 ) { v6 = sub_1002E75A0(*(_QWORD *)(a1 + 880), v5); v7 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 192LL))(v6); if ( *v7 == *a2 && *(float *)((*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 192LL))(v6, *v7) + 4) == a2[1] ) { break; } if ( ++v5 >= (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 880)) ) return 0; } return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source