// // EditorUI::getLimitedPosition from 0x70d8bc to 0x70d950 (148 bytes) // // 2 xrefs: // > EditorUI::getGridSnappedPos @ 0x484f72 // > EditorUI::moveObject @ 0x70d996 // // 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 11:57:42 +0000 // cocos2d::CCPoint *__fastcall EditorUI::getLimitedPosition(cocos2d::CCPoint *a1, int a2, float *a3) { float v3; // s15 float v5; // s15 int v6; // r3 v3 = *a3; if ( *a3 <= -3000.0 ) { v3 = -3000.0; } else if ( v3 >= 240000.0 ) { v3 = 240000.0; } *a3 = v3; v5 = a3[1]; if ( v5 <= -3000.0 ) v5 = -3000.0; a3[1] = v5; if ( *(_BYTE *)(*(_DWORD *)(*(_DWORD *)(a2 + 944) + 2084) + 373) ) v6 = 1000; else v6 = 80; if ( (float)((float)((float)v6 * 30.0) + 90.0) <= v5 ) v5 = (float)((float)v6 * 30.0) + 90.0; a3[1] = v5; cocos2d::CCPoint::CCPoint(a1, (const cocos2d::CCPoint *)a3); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source