{"type": "func", "start": 4298013300, "end": 4298013420, "name": "GManager::loadFromCompressedString", "pseudocode": "// \n// GManager::loadFromCompressedString from 0x1002e7a74 to 0x1002e7aec (120 bytes)\n// \n// 2 xrefs:\n// > GJAccountManager::onSyncAccountCompleted @ 0x100445f24\n// > GJAccountManager::onSyncAccountCompleted @ 0x100445f30\n// \n// This function is hookable on this platform (idp: arm, 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:02:51 +0000\n// \n\nvoid __fastcall GManager::loadFromCompressedString(__int64 a1, __int64 a2)\n{\n  std::string __p; // [xsp+8h] [xbp-28h] BYREF\n\n  cocos2d::ZipUtils::decompressString((void **)a2, 0, 11, &__p);\n  if ( *(char *)(a2 + 23) < 0 )\n  {\n    **(_BYTE **)a2 = 0;\n    *(_QWORD *)(a2 + 8) = 0;\n  }\n  else\n  {\n    *(_BYTE *)a2 = 0;\n    *(_BYTE *)(a2 + 23) = 0;\n  }\n  GManager::loadFromString(a1, (__int64)&__p);\n  if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__p.__r_.__value_.__l.__data_);\n}", "assembly": "; \n; GManager::loadFromCompressedString from 0x1002e7a74 to 0x1002e7aec (120 bytes)\n; \n; 2 xrefs:\n; > GJAccountManager::onSyncAccountCompleted @ 0x100445f24\n; > GJAccountManager::onSyncAccountCompleted @ 0x100445f30\n; \n; This function is hookable on this platform (idp: arm, 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:02:51 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1002e7a74\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1002e7a78\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1002e7a7c\nADD             X29, SP, #0x30                                         ; +0xc, 0x1002e7a80\nMOV             X20, X1                                                ; +0x10, 0x1002e7a84\nMOV             X19, X0                                                ; +0x14, 0x1002e7a88\nADD             X8, SP, #0x30+__p                                      ; +0x18, 0x1002e7a8c\nMOV             X0, X1                                                 ; +0x1c, 0x1002e7a90\nMOV             W1, #0                                                 ; +0x20, 0x1002e7a94\nMOV             W2, #0xB                                               ; +0x24, 0x1002e7a98\nBL              cocos2d__ZipUtils__decompressString                    ; +0x28, 0x1002e7a9c\nLDRSB           W8, [X20,#0x17]                                        ; +0x2c, 0x1002e7aa0\nTBNZ            W8, #0x1F, loc_1002E7AB4                               ; +0x30, 0x1002e7aa4\nSTRB            WZR, [X20]                                             ; +0x34, 0x1002e7aa8\nSTRB            WZR, [X20,#0x17]                                       ; +0x38, 0x1002e7aac\nB               loc_1002E7AC0                                          ; +0x3c, 0x1002e7ab0\nLDR             X8, [X20]                                              ; +0x40, 0x1002e7ab4\nSTRB            WZR, [X8]                                              ; +0x44, 0x1002e7ab8\nSTR             XZR, [X20,#8]                                          ; +0x48, 0x1002e7abc\nADD             X1, SP, #0x30+__p                                      ; +0x4c, 0x1002e7ac0\nMOV             X0, X19                                                ; +0x50, 0x1002e7ac4\nBL              GManager__loadFromString                               ; +0x54, 0x1002e7ac8\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x58, 0x1002e7acc\nTBZ             W8, #0x1F, loc_1002E7ADC                               ; +0x5c, 0x1002e7ad0\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x60, 0x1002e7ad4\nBL              __ZdlPv; operator delete(void *)                       ; +0x64, 0x1002e7ad8\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x68, 0x1002e7adc\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x6c, 0x1002e7ae0\nADD             SP, SP, #0x40 ; '@'                                    ; +0x70, 0x1002e7ae4\nRET                                                                    ; +0x74, 0x1002e7ae8", "xrefs": ["GJAccountManager::onSyncAccountCompleted @ 0x100445f24", "GJAccountManager::onSyncAccountCompleted @ 0x100445f30"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}