{"type": "func", "start": 7291760, "end": 7291846, "name": "EditorUI::findPassesFilters", "pseudocode": "// \n// EditorUI::findPassesFilters from 0x6f4370 to 0x6f43c6 (86 bytes)\n// \n// 2 xrefs:\n// > EditorUI::findObject @ 0x6f4c32\n// > EditorUI::findObject @ 0x6f4dde\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:57:38 +0000\n// \n\nbool __fastcall EditorUI::findPassesFilters(EditorUI *this, GameManager **a2)\n{\n  GameManager *v3; // r0\n  GameManager *IntGameVariable; // r0\n  GameManager *v5; // r0\n  GJSpriteColor *v6; // r4\n  GameManager *v7; // r4\n  GameManager *v8; // r0\n  _BOOL4 result; // r0\n\n  v3 = (GameManager *)GameManager::sharedState(this);\n  IntGameVariable = (GameManager *)GameManager::getIntGameVariable(v3, \"0005\");\n  result = false;\n  if ( IntGameVariable != (GameManager *)((char *)&dword_0 + 3)\n    || (v7 = a2[223],\n        v8 = (GameManager *)GameManager::sharedState((GameManager *)((char *)&dword_0 + 3)),\n        IntGameVariable = (GameManager *)GameManager::getIntGameVariable(v8, \"0006\"),\n        v7 == IntGameVariable) )\n  {\n    v5 = (GameManager *)GameManager::sharedState(IntGameVariable);\n    v6 = (GJSpriteColor *)GameManager::getIntGameVariable(v5, \"0139\");\n    if ( !v6\n      || GameObject::getMainColorMode((GameObject *)a2) == v6\n      || GameObject::getSecondaryColorMode((GameObject *)a2) == v6 )\n    {\n      return true;\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::findPassesFilters from 0x6f4370 to 0x6f43c6 (86 bytes)\n; \n; 2 xrefs:\n; > EditorUI::findObject @ 0x6f4c32\n; > EditorUI::findObject @ 0x6f4dde\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:57:38 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x6f4370\nMOV             R5, R1                                                 ; +0x2, 0x6f4372\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x6f4374\nLDR             R1, =(a0005 - 0x6F437E); \"0005\"                        ; +0x8, 0x6f4378\nADD             R1, PC; \"0005\"                                         ; +0xa, 0x6f437a\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0xc, 0x6f437c\nCMP             R0, #3                                                 ; +0x10, 0x6f4380\nBEQ             loc_6F4396                                             ; +0x12, 0x6f4382\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x14, 0x6f4384\nLDR             R1, =(a0139 - 0x6F438E); \"0139\"                        ; +0x18, 0x6f4388\nADD             R1, PC; \"0139\"                                         ; +0x1a, 0x6f438a\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x1c, 0x6f438c\nMOV             R4, R0                                                 ; +0x20, 0x6f4390\nCBZ             R0, loc_6F43C2                                         ; +0x22, 0x6f4392\nB               loc_6F43AE                                             ; +0x24, 0x6f4394\nLDR.W           R4, [R5,#0x37C]                                        ; +0x26, 0x6f4396\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x2a, 0x6f439a\nLDR             R1, =(a0006 - 0x6F43A4); \"0006\"                        ; +0x2e, 0x6f439e\nADD             R1, PC; \"0006\"                                         ; +0x30, 0x6f43a0\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x32, 0x6f43a2\nCMP             R4, R0                                                 ; +0x36, 0x6f43a6\nBEQ             loc_6F4384                                             ; +0x38, 0x6f43a8\nMOVS            R0, #0                                                 ; +0x3a, 0x6f43aa\nPOP             {R3-R5,PC}                                             ; +0x3c, 0x6f43ac\nMOV             R0, R5; this                                           ; +0x3e, 0x6f43ae\nBL              _ZN10GameObject16getMainColorModeEv; GameObject::getMainColorMode(void) ; +0x40, 0x6f43b0\nCMP             R0, R4                                                 ; +0x44, 0x6f43b4\nBEQ             loc_6F43C2                                             ; +0x46, 0x6f43b6\nMOV             R0, R5; this                                           ; +0x48, 0x6f43b8\nBL              _ZN10GameObject21getSecondaryColorModeEv; GameObject::getSecondaryColorMode(void) ; +0x4a, 0x6f43ba\nCMP             R0, R4                                                 ; +0x4e, 0x6f43be\nBNE             loc_6F43AA                                             ; +0x50, 0x6f43c0\nMOVS            R0, #1                                                 ; +0x52, 0x6f43c2\nPOP             {R3-R5,PC}                                             ; +0x54, 0x6f43c4", "xrefs": ["EditorUI::findObject @ 0x6f4c32", "EditorUI::findObject @ 0x6f4dde"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}