{"type": "func", "start": 4300609520, "end": 4300609569, "name": "GJSearchObject::isLevelSearchObject", "pseudocode": "// \n// GJSearchObject::isLevelSearchObject from 0x1005617f0 to 0x100561821 (49 bytes)\n// \n// 2 xrefs:\n// > LevelBrowserLayer::init @ 0x10048c2b5\n// > LevelBrowserLayer::loadLevelsFinished @ 0x1004906bd\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool __fastcall GJSearchObject::isLevelSearchObject(GJSearchObject *a1)\n{\n  SearchType m_searchType; // ecx\n  bool result; // al\n  int v3; // edx\n\n  m_searchType = a1->m_searchType;\n  result = 0;\n  if ( (unsigned int)m_searchType > Users || (v3 = 17952, !_bittest(&v3, m_searchType)) )\n  {\n    if ( (unsigned int)(m_searchType - 101) >= 2 )\n      return a1->m_searchMode == 0;\n  }\n  return result;\n}", "assembly": "; \n; GJSearchObject::isLevelSearchObject from 0x1005617f0 to 0x100561821 (49 bytes)\n; \n; 2 xrefs:\n; > LevelBrowserLayer::init @ 0x10048c2b5\n; > LevelBrowserLayer::loadLevelsFinished @ 0x1004906bd\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1005617f0\nmov     rbp, rsp                                                       ; +0x1, 0x1005617f1\nmov     ecx, [rdi+13Ch]                                                ; +0x4, 0x1005617f4\nxor     eax, eax                                                       ; +0xa, 0x1005617fa\ncmp     ecx, 0Eh                                                       ; +0xc, 0x1005617fc\nja      short loc_10056180B                                            ; +0xf, 0x1005617ff\nmov     edx, 4620h                                                     ; +0x11, 0x100561801\nbt      edx, ecx                                                       ; +0x16, 0x100561806\njb      short loc_100561813                                            ; +0x19, 0x100561809\nadd     ecx, 0FFFFFF9Bh                                                ; +0x1b, 0x10056180b\ncmp     ecx, 2                                                         ; +0x1e, 0x10056180e\njnb     short loc_100561815                                            ; +0x21, 0x100561811\npop     rbp                                                            ; +0x23, 0x100561813\nretn                                                                   ; +0x24, 0x100561814\ncmp     dword ptr [rdi+1B0h], 0                                        ; +0x25, 0x100561815\nsetz    al                                                             ; +0x2c, 0x10056181c\npop     rbp                                                            ; +0x2f, 0x10056181f\nretn                                                                   ; +0x30, 0x100561820", "xrefs": ["LevelBrowserLayer::init @ 0x10048c2b5", "LevelBrowserLayer::loadLevelsFinished @ 0x1004906bd"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}