{"type": "func", "start": 5792390, "end": 5792410, "name": "AccountRegisterLayer::validUser", "pseudocode": "// \n// AccountRegisterLayer::validUser from 0x586286 to 0x58629a (20 bytes)\n// \n// 2 xrefs:\n// > AccountRegisterLayer::textInputClosed @ 0x5887d0\n// > AccountRegisterLayer::onSubmit @ 0x588cca\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:52:58 +0000\n// \n\nbool __fastcall AccountRegisterLayer::validUser(int a1, unsigned __int8 *a2)\n{\n  int v2; // r0\n  unsigned int v3; // r0\n\n  v2 = *a2;\n  if ( (v2 & 1) != 0 )\n    v3 = *((_DWORD *)a2 + 1);\n  else\n    v3 = v2 >> 1;\n  return v3 > 2;\n}", "assembly": "; \n; AccountRegisterLayer::validUser from 0x586286 to 0x58629a (20 bytes)\n; \n; 2 xrefs:\n; > AccountRegisterLayer::textInputClosed @ 0x5887d0\n; > AccountRegisterLayer::onSubmit @ 0x588cca\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:52:58 +0000\n; \nLDRB            R0, [R1]                                               ; +0x0, 0x586286\nLSLS            R3, R0, #0x1F                                          ; +0x2, 0x586288\nITE PL                                                                 ; +0x4, 0x58628a\nASRPL           R0, R0, #1                                             ; +0x6, 0x58628c\nLDRMI           R0, [R1,#4]                                            ; +0x8, 0x58628e\nCMP             R0, #2                                                 ; +0xa, 0x586290\nITE LS                                                                 ; +0xc, 0x586292\nMOVLS           R0, #0                                                 ; +0xe, 0x586294\nMOVHI           R0, #1                                                 ; +0x10, 0x586296\nBX              LR                                                     ; +0x12, 0x586298", "xrefs": ["AccountRegisterLayer::textInputClosed @ 0x5887d0", "AccountRegisterLayer::onSubmit @ 0x588cca"], "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"}