{"type": "func", "start": 5372817216, "end": 5372817309, "name": "LevelBrowserLayer::safeSearchObject", "pseudocode": "// \n// LevelBrowserLayer::safeSearchObject from 0x1403eaf40 to 0x1403eaf9d (93 bytes)\n// \n// 2 xrefs:\n// > DailyLevelPage::onTheSafe @ 0x140172ac0\n// > <???> @ 0x140925160\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:31:45 +0000\n// \n\n__int64 __fastcall LevelBrowserLayer::safeSearchObject(int a1)\n{\n  int v2; // ecx\n  int v3; // edx\n  __int64 result; // rax\n\n  if ( dword_1408FE4A4 == 2 )\n  {\n    if ( a1 == 1 )\n    {\n      v2 = 22;\n      goto LABEL_10;\n    }\n    v2 = 21;\n    v3 = 23;\n  }\n  else\n  {\n    if ( a1 == 1 )\n    {\n      v2 = 33;\n      goto LABEL_10;\n    }\n    v2 = 32;\n    v3 = 34;\n  }\n  if ( a1 == 2 )\n    v2 = v3;\nLABEL_10:\n  result = GJSearchObject::create_2(v2);\n  *(_BYTE *)(result + 436) = dword_1408FE4A4 == 1;\n  return result;\n}", "assembly": "; \n; LevelBrowserLayer::safeSearchObject from 0x1403eaf40 to 0x1403eaf9d (93 bytes)\n; \n; 2 xrefs:\n; > DailyLevelPage::onTheSafe @ 0x140172ac0\n; > <???> @ 0x140925160\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:31:45 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1403eaf40\ncmp     cs:dword_1408FE4A4, 2                                          ; +0x4, 0x1403eaf44\nmov     eax, ecx                                                       ; +0xb, 0x1403eaf4b\njnz     short loc_1403EAF67                                            ; +0xd, 0x1403eaf4d\ncmp     eax, 1                                                         ; +0xf, 0x1403eaf4f\njnz     short loc_1403EAF5B                                            ; +0x12, 0x1403eaf52\nmov     ecx, 16h                                                       ; +0x14, 0x1403eaf54\njmp     short loc_1403EAF83                                            ; +0x19, 0x1403eaf59\nmov     ecx, 15h                                                       ; +0x1b, 0x1403eaf5b\nmov     edx, 17h                                                       ; +0x20, 0x1403eaf60\njmp     short loc_1403EAF7D                                            ; +0x25, 0x1403eaf65\ncmp     eax, 1                                                         ; +0x27, 0x1403eaf67\njnz     short loc_1403EAF73                                            ; +0x2a, 0x1403eaf6a\nmov     ecx, 21h ; '!'                                                 ; +0x2c, 0x1403eaf6c\njmp     short loc_1403EAF83                                            ; +0x31, 0x1403eaf71\nmov     ecx, 20h ; ' '                                                 ; +0x33, 0x1403eaf73\nmov     edx, 22h ; '\"'                                                 ; +0x38, 0x1403eaf78\ncmp     eax, 2                                                         ; +0x3d, 0x1403eaf7d\ncmovz   ecx, edx                                                       ; +0x40, 0x1403eaf80\ncall    GJSearchObject__create_2                                       ; +0x43, 0x1403eaf83\ncmp     cs:dword_1408FE4A4, 1                                          ; +0x48, 0x1403eaf88\nsetz    cl                                                             ; +0x4f, 0x1403eaf8f\nmov     [rax+1B4h], cl                                                 ; +0x52, 0x1403eaf92\nadd     rsp, 28h                                                       ; +0x58, 0x1403eaf98\nretn                                                                   ; +0x5c, 0x1403eaf9c", "xrefs": ["DailyLevelPage::onTheSafe @ 0x140172ac0", "<???> @ 0x140925160"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}