{"type": "func", "start": 4610080, "end": 4610332, "name": "GJAccountManager::getAccountSyncURL", "pseudocode": "// \n// GJAccountManager::getAccountSyncURL from 0x465820 to 0x46591c (252 bytes)\n// \n// 1 xrefs:\n// > AccountLayer::doSync @ 0x467158\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 GJAccountManager::getAccountSyncURL(GJAccountManager *a1)\n{\n  const char *m_accountID; // r4\n  cocos2d::CCString *v3; // r0\n  const char *CString; // r0\n  cocos2d::CCString *v5; // r0\n  char *v6; // r0\n  char *v7; // r10\n  char *v9; // [sp+1Ch] [bp-14h] BYREF\n  char *v10; // [sp+20h] [bp-10h] BYREF\n  const void *v11; // [sp+24h] [bp-Ch] BYREF\n  char *v12; // [sp+28h] [bp-8h] BYREF\n\n  if ( GJAccountManager::isDLActive(a1, \"surl_account\") )\n    return 0;\n  GJAccountManager::addDLToActive(a1, \"surl_account\");\n  m_accountID = (const char *)a1->m_accountID;\n  v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                              (cocos2d::CCString *)\"%c%s%s%c%c%s\",\n                              (const char *)&dword_54 + 3,\n                              \"mfd\",\n                              \"2893\",\n                              103,\n                              98,\n                              &aO1i2r3e45s7t89[10]);\n  CString = cocos2d::CCString::getCString(v3);\n  v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                              (cocos2d::CCString *)\"accountID=%i&type=2&secret=%s\",\n                              m_accountID,\n                              CString);\n  v6 = (char *)cocos2d::CCString::getCString(v5);\n  sub_776584((int)&v9, v6);\n  v7 = v9;\n  sub_776584((int)&v10, \"https://www.boomlings.com/database/getAccountURL.php\");\n  sub_776584((int)&v11, v7);\n  sub_776584((int)&v12, \"AccountSyncURL\");\n  GJAccountManager::ProcessHttpRequest(a1, &v10, &v11, &v12, 55);\n  sub_774008(&v12);\n  sub_774008(&v11);\n  sub_774008(&v10);\n  sub_774008(&v9);\n  return 1;\n}", "assembly": "; \n; GJAccountManager::getAccountSyncURL from 0x465820 to 0x46591c (252 bytes)\n; \n; 1 xrefs:\n; > AccountLayer::doSync @ 0x467158\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-R10,LR}                                            ; +0x0, 0x465820\nSUB             SP, SP, #0x30                                          ; +0x4, 0x465824\nLDR             R7, =(__stack_chk_guard_ptr - 0x465830)                ; +0x6, 0x465826\nMOV             R9, R0                                                 ; +0x8, 0x465828\nLDR             R4, =(aSurlAccount - 0x465834); \"surl_account\"         ; +0xa, 0x46582a\nADD             R7, PC; __stack_chk_guard_ptr                          ; +0xc, 0x46582c\nLDR             R7, [R7]; __stack_chk_guard                            ; +0xe, 0x46582e\nADD             R4, PC; \"surl_account\"                                 ; +0x10, 0x465830\nLDR             R3, [R7]                                               ; +0x12, 0x465832\nMOV             R1, R4; char *                                         ; +0x14, 0x465834\nSTR             R3, [SP,#0x30+var_4]                                   ; +0x16, 0x465836\nBL              _ZN16GJAccountManager10isDLActiveEPKc; GJAccountManager::isDLActive(char const*) ; +0x18, 0x465838\nCMP             R0, #0                                                 ; +0x1c, 0x46583c\nBNE             loc_4658E6                                             ; +0x1e, 0x46583e\nMOV             R1, R4; char *                                         ; +0x20, 0x465840\nMOV             R0, R9; this                                           ; +0x22, 0x465842\nBL              _ZN16GJAccountManager13addDLToActiveEPKc; GJAccountManager::addDLToActive(char const*) ; +0x24, 0x465844\nMOVS            R2, #0x67 ; 'g'                                        ; +0x28, 0x465848\nMOVS            R3, #0x62 ; 'b'                                        ; +0x2a, 0x46584a\nSTMEA.W         SP, {R2,R3}                                            ; +0x2c, 0x46584c\nLDR             R3, =(aO1i2r3e45s7t89+0x14 - 0x46585E); \"7t89g\"        ; +0x30, 0x465850\nMOVS            R1, #(dword_54+3); char *                              ; +0x32, 0x465852\nLDR             R0, =(aCSSCCS - 0x465864); \"%c%s%s%c%c%s\"              ; +0x34, 0x465854\nADD.W           R8, SP, #0x30+var_14                                   ; +0x36, 0x465856\nADD             R3, PC; \"7t89g\"                                        ; +0x3a, 0x46585a\nLDR             R2, =(aMfd - 0x465868); \"mfd\"                          ; +0x3c, 0x46585c\nSTR             R3, [SP,#0x30+var_28]                                  ; +0x3e, 0x46585e\nADD             R0, PC; \"%c%s%s%c%c%s\"                                 ; +0x40, 0x465860\nLDR             R3, =(a2893 - 0x465870); \"2893\"                        ; +0x42, 0x465862\nADD             R2, PC; \"mfd\"                                          ; +0x44, 0x465864\nLDR.W           R4, [R9,#0x110]                                        ; +0x46, 0x465866\nADD             R5, SP, #0x30+var_10                                   ; +0x4a, 0x46586a\nADD             R3, PC; \"2893\"                                         ; +0x4c, 0x46586c\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x4e, 0x46586e\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x52, 0x465872\nMOV             R1, R4; char *                                         ; +0x56, 0x465876\nADD             R4, SP, #0x30+var_8                                    ; +0x58, 0x465878\nMOV             R2, R0                                                 ; +0x5a, 0x46587a\nLDR             R0, =(aAccountidIType_0 - 0x465882); \"accountID=%i&type=2&secret=%s\" ; +0x5c, 0x46587c\nADD             R0, PC; \"accountID=%i&type=2&secret=%s\"                ; +0x5e, 0x46587e\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x60, 0x465880\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x64, 0x465884\nMOV             R2, R4                                                 ; +0x68, 0x465888\nMOV             R1, R0; char *                                         ; +0x6a, 0x46588a\nMOV             R0, R8; int                                            ; +0x6c, 0x46588c\nBL              sub_776584                                             ; +0x6e, 0x46588e\nLDR             R1, =(aHttpsWwwBoomli_65 - 0x46589C); \"https://www.boomlings.com/database/getA\"... ; +0x72, 0x465892\nMOV             R0, R5; int                                            ; +0x74, 0x465894\nADD             R2, SP, #0x30+var_20                                   ; +0x76, 0x465896\nADD             R1, PC; \"https://www.boomlings.com/database/getA\"...   ; +0x78, 0x465898\nLDR.W           R10, [SP,#0x30+var_14]                                 ; +0x7a, 0x46589a\nBL              sub_776584                                             ; +0x7e, 0x46589e\nADD             R6, SP, #0x30+var_C                                    ; +0x82, 0x4658a2\nMOV             R1, R10; char *                                        ; +0x84, 0x4658a4\nADD             R2, SP, #0x30+var_1C                                   ; +0x86, 0x4658a6\nMOV             R0, R6; int                                            ; +0x88, 0x4658a8\nBL              sub_776584                                             ; +0x8a, 0x4658aa\nLDR             R1, =(aAccountsyncurl - 0x4658B8); \"AccountSyncURL\"    ; +0x8e, 0x4658ae\nMOV             R0, R4; int                                            ; +0x90, 0x4658b0\nADD             R2, SP, #0x30+var_18                                   ; +0x92, 0x4658b2\nADD             R1, PC; \"AccountSyncURL\"                               ; +0x94, 0x4658b4\nBL              sub_776584                                             ; +0x96, 0x4658b6\nMOVS            R3, #0x37 ; '7'                                        ; +0x9a, 0x4658ba\nMOV             R0, R9                                                 ; +0x9c, 0x4658bc\nSTR             R3, [SP,#0x30+var_30]                                  ; +0x9e, 0x4658be\nMOV             R1, R5                                                 ; +0xa0, 0x4658c0\nMOV             R2, R6                                                 ; +0xa2, 0x4658c2\nMOV             R3, R4                                                 ; +0xa4, 0x4658c4\nBL              _ZN16GJAccountManager18ProcessHttpRequestESsSsSs10GJHttpType; GJAccountManager::ProcessHttpRequest(std::string,std::string,std::string,GJHttpType) ; +0xa6, 0x4658c6\nMOV             R0, R4                                                 ; +0xaa, 0x4658ca\nBL              sub_774008                                             ; +0xac, 0x4658cc\nMOV             R0, R6                                                 ; +0xb0, 0x4658d0\nBL              sub_774008                                             ; +0xb2, 0x4658d2\nMOV             R0, R5                                                 ; +0xb6, 0x4658d6\nBL              sub_774008                                             ; +0xb8, 0x4658d8\nMOV             R0, R8                                                 ; +0xbc, 0x4658dc\nBL              sub_774008                                             ; +0xbe, 0x4658de\nMOVS            R0, #1                                                 ; +0xc2, 0x4658e2\nB               loc_4658E8                                             ; +0xc4, 0x4658e4\nMOVS            R0, #0                                                 ; +0xc6, 0x4658e6\nLDR             R2, [SP,#0x30+var_4]                                   ; +0xc8, 0x4658e8\nLDR             R3, [R7]                                               ; +0xca, 0x4658ea\nCMP             R2, R3                                                 ; +0xcc, 0x4658ec\nBEQ             loc_465916                                             ; +0xce, 0x4658ee\nBLX             __stack_chk_fail                                       ; +0xd0, 0x4658f0\nMOV             R0, R4                                                 ; +0xd4, 0x4658f4\nBL              sub_774008                                             ; +0xd6, 0x4658f6\nB               loc_4658FC                                             ; +0xda, 0x4658fa\nMOV             R0, R6                                                 ; +0xdc, 0x4658fc\nBL              sub_774008                                             ; +0xde, 0x4658fe\nB               loc_465904                                             ; +0xe2, 0x465902\nMOV             R0, R5                                                 ; +0xe4, 0x465904\nBL              sub_774008                                             ; +0xe6, 0x465906\nB               loc_46590C                                             ; +0xea, 0x46590a\nMOV             R0, R8                                                 ; +0xec, 0x46590c\nBL              sub_774008                                             ; +0xee, 0x46590e\nBL              __cxa_end_cleanup                                      ; +0xf2, 0x465912\nADD             SP, SP, #0x30 ; '0'                                    ; +0xf6, 0x465916\nPOP.W           {R4-R10,PC}                                            ; +0xf8, 0x465918", "xrefs": ["AccountLayer::doSync @ 0x467158"], "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"}