{"type": "func", "start": 4297453580, "end": 4297453692, "name": "LocalLevelManager::encodeDataTo", "pseudocode": "// \n// LocalLevelManager::encodeDataTo from 0x10025f00c to 0x10025f07c (112 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100910e78\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:01:37 +0000\n// \n\n__int64 __fastcall LocalLevelManager::encodeDataTo(__int64 a1, __int64 a2)\n{\n  __int64 v4; // x0\n  __int64 v5; // x0\n\n  v4 = GameManager::sharedState(a1);\n  if ( *(_QWORD *)(v4 + 544) )\n  {\n    v5 = GameManager::sharedState(v4);\n    PlayLayer::writePersistentSave(*(_QWORD *)(v5 + 544));\n  }\n  DS_Dictionary::setArrayForKey(a2, \"LLM_01\", *(_QWORD *)(a1 + 360));\n  DS_Dictionary::setIntegerForKey_1(a2, (__int64)\"LLM_02\", 51);\n  return DS_Dictionary::setArrayForKey(a2, \"LLM_03\", *(_QWORD *)(a1 + 368));\n}", "assembly": "; \n; LocalLevelManager::encodeDataTo from 0x10025f00c to 0x10025f07c (112 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100910e78\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:01:37 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10025f00c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10025f010\nADD             X29, SP, #0x10                                         ; +0x8, 0x10025f014\nMOV             X19, X1                                                ; +0xc, 0x10025f018\nMOV             X20, X0                                                ; +0x10, 0x10025f01c\nBL              GameManager__sharedState                               ; +0x14, 0x10025f020\nLDR             X8, [X0,#0x220]                                        ; +0x18, 0x10025f024\nCBZ             X8, loc_10025F038                                      ; +0x1c, 0x10025f028\nBL              GameManager__sharedState                               ; +0x20, 0x10025f02c\nLDR             X0, [X0,#0x220]                                        ; +0x24, 0x10025f030\nBL              PlayLayer__writePersistentSave                         ; +0x28, 0x10025f034\nLDR             X2, [X20,#0x168]                                       ; +0x2c, 0x10025f038\nADRL            X1, aLlm01; \"LLM_01\"                                   ; +0x30, 0x10025f03c\nMOV             X0, X19                                                ; +0x38, 0x10025f044\nBL              DS_Dictionary__setArrayForKey                          ; +0x3c, 0x10025f048\nADRL            X1, aLlm02; \"LLM_02\"                                   ; +0x40, 0x10025f04c\nMOV             X0, X19                                                ; +0x48, 0x10025f054\nMOV             W2, #0x33 ; '3'                                        ; +0x4c, 0x10025f058\nBL              DS_Dictionary__setIntegerForKey_1                      ; +0x50, 0x10025f05c\nLDR             X2, [X20,#0x170]                                       ; +0x54, 0x10025f060\nADRL            X1, aLlm03; \"LLM_03\"                                   ; +0x58, 0x10025f064\nMOV             X0, X19                                                ; +0x60, 0x10025f06c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x64, 0x10025f070\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x68, 0x10025f074\nB               DS_Dictionary__setArrayForKey                          ; +0x6c, 0x10025f078", "xrefs": ["<???> @ 0x100910e78"], "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"}