// // sub_1001A6778 from 0x1001a6778 to 0x1001a680c (148 bytes) // // 2 xrefs: // > EditorUI::findObject @ 0x1001a6888 // > EditorUI::findObject @ 0x1001a68e0 // // 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:00:03 +0000 // bool __fastcall sub_1001A6778(__int64 a1, __int64 a2) { __int64 v3; // x0 __int64 IntGameVariable; // x0 int v5; // w20 __int64 v6; // x0 __int64 v7; // x0 int v8; // w0 int v9; // w20 int v10; // w0 _BOOL8 result; // x0 v3 = GameManager::sharedState(a1); IntGameVariable = GameManager::getIntGameVariable(v3, "0005"); result = false; if ( (_DWORD)IntGameVariable != 3 || (v5 = *(_DWORD *)(a2 + 1028), v6 = GameManager::sharedState(IntGameVariable), IntGameVariable = GameManager::getIntGameVariable(v6, "0006"), v5 == (_DWORD)IntGameVariable) ) { v7 = GameManager::sharedState(IntGameVariable); v8 = GameManager::getIntGameVariable(v7, "0139"); if ( !v8 ) return true; v9 = v8; if ( (unsigned int)GameObject::getMainColorMode(a2) == v8 ) return true; sub_1002FB234(a2); if ( v10 == v9 ) return true; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source