{"type": "func", "start": 4607812, "end": 4608040, "name": "GJAccountManager::dataLoaded", "pseudocode": "// \n// GJAccountManager::dataLoaded from 0x464f44 to 0x465028 (228 bytes)\n// \n// 1 xrefs:\n// > GameManager::dataLoaded @ 0x328d04\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\nvoid GJAccountManager::dataLoaded(GJAccountManager *a1, DS_Dictionary *a2)\n{\n  _BYTE v4[4]; // [sp+4h] [bp-10h] BYREF\n  char v5; // [sp+8h] [bp-Ch] BYREF\n\n  DS_Dictionary::getStringForKey((DS_Dictionary *)&v5, (const char *)a2);\n  sub_774794(&a1->m_username, &v5);\n  sub_774008(&v5);\n  a1->m_accountID = DS_Dictionary::getIntegerForKey(a2, \"GJA_003\");\n  DS_Dictionary::getStringForKey((DS_Dictionary *)&v5, (const char *)a2);\n  sub_774794(&a1->m_password, &v5);\n  sub_774008(&v5);\n  DS_Dictionary::getStringForKey((DS_Dictionary *)&v5, (const char *)a2);\n  sub_774794(&a1->m_GJP2, &v5);\n  sub_774008(&v5);\n  if ( *((_DWORD *)a1->m_password.m_data.m_data - 3) )\n  {\n    if ( !*((_DWORD *)a1->m_GJP2.m_data.m_data - 3) )\n    {\n      sub_775C20(v4);\n      GJAccountManager::getShaPassword((int)&v5);\n      sub_774794(&a1->m_GJP2, &v5);\n      sub_774008(&v5);\n      sub_774008(v4);\n    }\n  }\n}", "assembly": "; \n; GJAccountManager::dataLoaded from 0x464f44 to 0x465028 (228 bytes)\n; \n; 1 xrefs:\n; > GameManager::dataLoaded @ 0x328d04\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.W          {R4-R9,LR}                                             ; +0x0, 0x464f44\nSUB             SP, SP, #0x14                                          ; +0x4, 0x464f48\nLDR             R6, =(__stack_chk_guard_ptr - 0x464F56)                ; +0x6, 0x464f4a\nADD             R4, SP, #0x14+var_C                                    ; +0x8, 0x464f4c\nLDR             R2, =(aGja001 - 0x464F5C); \"GJA_001\"                   ; +0xa, 0x464f4e\nMOV             R5, R0                                                 ; +0xc, 0x464f50\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xe, 0x464f52\nLDR             R6, [R6]; __stack_chk_guard                            ; +0x10, 0x464f54\nMOV             R0, R4; this                                           ; +0x12, 0x464f56\nADD             R2, PC; \"GJA_001\"                                      ; +0x14, 0x464f58\nMOV             R7, R1                                                 ; +0x16, 0x464f5a\nLDR             R3, [R6]                                               ; +0x18, 0x464f5c\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x1a, 0x464f5e\nBL              _ZN13DS_Dictionary15getStringForKeyEPKc; DS_Dictionary::getStringForKey(char const*) ; +0x1c, 0x464f60\nADD.W           R0, R5, #0x10C                                         ; +0x20, 0x464f64\nMOV             R1, R4                                                 ; +0x24, 0x464f68\nBL              sub_774794                                             ; +0x26, 0x464f6a\nMOV             R0, R4                                                 ; +0x2a, 0x464f6e\nADD.W           R9, R5, #0x140                                         ; +0x2c, 0x464f70\nBL              sub_774008                                             ; +0x30, 0x464f74\nLDR             R1, =(aGja003 - 0x464F80); \"GJA_003\"                   ; +0x34, 0x464f78\nMOV             R0, R7; this                                           ; +0x36, 0x464f7a\nADD             R1, PC; \"GJA_003\"                                      ; +0x38, 0x464f7c\nBL              _ZN13DS_Dictionary16getIntegerForKeyEPKc; DS_Dictionary::getIntegerForKey(char const*) ; +0x3a, 0x464f7e\nLDR             R2, =(aGja002 - 0x464F8A); \"GJA_002\"                   ; +0x3e, 0x464f82\nMOV             R1, R7; char *                                         ; +0x40, 0x464f84\nADD             R2, PC; \"GJA_002\"                                      ; +0x42, 0x464f86\nSTR.W           R0, [R5,#0x110]                                        ; +0x44, 0x464f88\nMOV             R0, R4; this                                           ; +0x48, 0x464f8c\nBL              _ZN13DS_Dictionary15getStringForKeyEPKc; DS_Dictionary::getStringForKey(char const*) ; +0x4a, 0x464f8e\nMOV             R0, R9                                                 ; +0x4e, 0x464f92\nMOV             R1, R4                                                 ; +0x50, 0x464f94\nBL              sub_774794                                             ; +0x52, 0x464f96\nMOV             R0, R4                                                 ; +0x56, 0x464f9a\nADD.W           R8, R5, #0x11C                                         ; +0x58, 0x464f9c\nBL              sub_774008                                             ; +0x5c, 0x464fa0\nLDR             R2, =(aGja005 - 0x464FAE); \"GJA_005\"                   ; +0x60, 0x464fa4\nMOV             R0, R4; this                                           ; +0x62, 0x464fa6\nMOV             R1, R7; char *                                         ; +0x64, 0x464fa8\nADD             R2, PC; \"GJA_005\"                                      ; +0x66, 0x464faa\nBL              _ZN13DS_Dictionary15getStringForKeyEPKc; DS_Dictionary::getStringForKey(char const*) ; +0x68, 0x464fac\nMOV             R0, R8                                                 ; +0x6c, 0x464fb0\nMOV             R1, R4                                                 ; +0x6e, 0x464fb2\nBL              sub_774794                                             ; +0x70, 0x464fb4\nMOV             R0, R4                                                 ; +0x74, 0x464fb8\nBL              sub_774008                                             ; +0x76, 0x464fba\nLDR.W           R3, [R5,#0x140]                                        ; +0x7a, 0x464fbe\nLDR.W           R3, [R3,#-0xC]                                         ; +0x7e, 0x464fc2\nCBZ             R3, loc_465016                                         ; +0x82, 0x464fc6\nLDR.W           R3, [R5,#0x11C]                                        ; +0x84, 0x464fc8\nLDR.W           R3, [R3,#-0xC]                                         ; +0x88, 0x464fcc\nCBZ             R3, loc_464FE2                                         ; +0x8c, 0x464fd0\nB               loc_465016                                             ; +0x8e, 0x464fd2\nB               loc_464FD6                                             ; +0x90, 0x464fd4\nMOV             R0, R4                                                 ; +0x92, 0x464fd6\nBL              sub_774008                                             ; +0x94, 0x464fd8\nBL              __cxa_end_cleanup                                      ; +0x98, 0x464fdc\nB               loc_464FD6                                             ; +0x9c, 0x464fe0\nADD             R5, SP, #0x14+var_10                                   ; +0x9e, 0x464fe2\nMOV             R1, R9                                                 ; +0xa0, 0x464fe4\nMOV             R0, R5                                                 ; +0xa2, 0x464fe6\nBL              sub_775C20                                             ; +0xa4, 0x464fe8\nMOV             R0, R4                                                 ; +0xa8, 0x464fec\nMOV             R1, R5                                                 ; +0xaa, 0x464fee\nBL              _ZN16GJAccountManager14getShaPasswordESs; GJAccountManager::getShaPassword(std::string) ; +0xac, 0x464ff0\nMOV             R0, R8                                                 ; +0xb0, 0x464ff4\nMOV             R1, R4                                                 ; +0xb2, 0x464ff6\nBL              sub_774794                                             ; +0xb4, 0x464ff8\nMOV             R0, R4                                                 ; +0xb8, 0x464ffc\nBL              sub_774008                                             ; +0xba, 0x464ffe\nMOV             R0, R5                                                 ; +0xbe, 0x465002\nBL              sub_774008                                             ; +0xc0, 0x465004\nB               loc_465016                                             ; +0xc4, 0x465008\nMOV             R0, R4                                                 ; +0xc6, 0x46500a\nBL              sub_774008                                             ; +0xc8, 0x46500c\nB               loc_465012                                             ; +0xcc, 0x465010\nMOV             R0, R5                                                 ; +0xce, 0x465012\nB               loc_464FD8                                             ; +0xd0, 0x465014\nLDR             R2, [SP,#0x14+var_8]                                   ; +0xd2, 0x465016\nLDR             R3, [R6]                                               ; +0xd4, 0x465018\nCMP             R2, R3                                                 ; +0xd6, 0x46501a\nBEQ             loc_465022                                             ; +0xd8, 0x46501c\nBLX             __stack_chk_fail                                       ; +0xda, 0x46501e\nADD             SP, SP, #0x14                                          ; +0xde, 0x465022\nPOP.W           {R4-R9,PC}                                             ; +0xe0, 0x465024", "xrefs": ["GameManager::dataLoaded @ 0x328d04"], "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"}