{"type": "func", "start": 3988580, "end": 3988674, "name": "GJLevelList::getUnpackedDescription", "pseudocode": "// \n// GJLevelList::getUnpackedDescription from 0x3cdc64 to 0x3cdcc2 (94 bytes)\n// \n// 4 xrefs:\n// > GJLevelList::showListInfo @ 0x3cdd5e\n// > InfoLayer::init @ 0x430752\n// > LevelListLayer::onDescription @ 0x58ef0c\n// > ShareListLayer::init @ 0x592c38\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\nGJLevelList *__fastcall GJLevelList::getUnpackedDescription(GJLevelList *this, stl::StringData<char>::Internal *a2)\n{\n  std::string v4[2]; // [sp+0h] [bp-8h] BYREF\n\n  v4[0].m_data.m_data = (stl::StringData<char>::Internal *)this;\n  v4[1].m_data.m_data = a2;\n  if ( *(_DWORD *)(*((_DWORD *)a2 + 87) - 12) )\n  {\n    sub_775C20(v4);\n    LevelTools::base64DecodeString((cocos2d::ZipUtils *)this, v4);\n    sub_774008(v4);\n  }\n  else\n  {\n    sub_776584((int)this, (char *)&unk_939830);\n  }\n  return this;\n}", "assembly": "; \n; GJLevelList::getUnpackedDescription from 0x3cdc64 to 0x3cdcc2 (94 bytes)\n; \n; 4 xrefs:\n; > GJLevelList::showListInfo @ 0x3cdd5e\n; > InfoLayer::init @ 0x430752\n; > LevelListLayer::onDescription @ 0x58ef0c\n; > ShareListLayer::init @ 0x592c38\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\nLDR             R3, =(__stack_chk_guard_ptr - 0x3CDC6C)                ; +0x0, 0x3cdc64\nPUSH            {R0,R1,R4-R6,LR}                                       ; +0x2, 0x3cdc66\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x3cdc68\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x3cdc6a\nMOV             R6, R0                                                 ; +0x8, 0x3cdc6c\nMOV             R5, SP                                                 ; +0xa, 0x3cdc6e\nLDR             R2, [R3]                                               ; +0xc, 0x3cdc70\nMOV             R4, R3                                                 ; +0xe, 0x3cdc72\nSTR             R2, [SP,#8+var_4]                                      ; +0x10, 0x3cdc74\nLDR.W           R2, [R1,#0x15C]                                        ; +0x12, 0x3cdc76\nLDR.W           R2, [R2,#-0xC]                                         ; +0x16, 0x3cdc7a\nCBNZ            R2, loc_3CDC8C                                         ; +0x1a, 0x3cdc7e\nLDR             R1, =(unk_939830 - 0x3CDC88)                           ; +0x1c, 0x3cdc80\nMOV             R2, SP                                                 ; +0x1e, 0x3cdc82\nADD             R1, PC; unk_939830 ; char *                            ; +0x20, 0x3cdc84\nBL              sub_776584                                             ; +0x22, 0x3cdc86\nB               loc_3CDCB0                                             ; +0x26, 0x3cdc8a\nADD.W           R1, R1, #0x15C                                         ; +0x28, 0x3cdc8c\nMOV             R0, SP                                                 ; +0x2c, 0x3cdc90\nBL              sub_775C20                                             ; +0x2e, 0x3cdc92\nMOV             R0, R6                                                 ; +0x32, 0x3cdc96\nMOV             R1, SP                                                 ; +0x34, 0x3cdc98\nBL              _ZN10LevelTools18base64DecodeStringESs; LevelTools::base64DecodeString(std::string) ; +0x36, 0x3cdc9a\nMOV             R0, SP                                                 ; +0x3a, 0x3cdc9e\nBL              sub_774008                                             ; +0x3c, 0x3cdca0\nB               loc_3CDCB0                                             ; +0x40, 0x3cdca4\nMOV             R0, R5                                                 ; +0x42, 0x3cdca6\nBL              sub_774008                                             ; +0x44, 0x3cdca8\nBL              __cxa_end_cleanup                                      ; +0x48, 0x3cdcac\nLDR             R2, [SP,#8+var_4]                                      ; +0x4c, 0x3cdcb0\nMOV             R0, R6                                                 ; +0x4e, 0x3cdcb2\nLDR             R3, [R4]                                               ; +0x50, 0x3cdcb4\nCMP             R2, R3                                                 ; +0x52, 0x3cdcb6\nBEQ             loc_3CDCBE                                             ; +0x54, 0x3cdcb8\nBLX             __stack_chk_fail                                       ; +0x56, 0x3cdcba\nADD             SP, SP, #8                                             ; +0x5a, 0x3cdcbe\nPOP             {R4-R6,PC}                                             ; +0x5c, 0x3cdcc0", "xrefs": ["GJLevelList::showListInfo @ 0x3cdd5e", "InfoLayer::init @ 0x430752", "LevelListLayer::onDescription @ 0x58ef0c", "ShareListLayer::init @ 0x592c38"], "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"}