{"type": "func", "start": 4295001624, "end": 4295001812, "name": "GJSmartTemplate::encodeWithCoder", "pseudocode": "// \n// GJSmartTemplate::encodeWithCoder from 0x100008618 to 0x1000086d4 (188 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100761c50\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 __fastcall GJSmartTemplate::encodeWithCoder(GJSmartTemplate *a1, DS_Dictionary *a2)\n{\n  DS_Dictionary::setIntegerForKey_1(a2, \"kCEK\", 10);\n  DS_Dictionary::setIntegerForKey_1(a2, \"1\", a1->m_nameIndex);\n  DS_Dictionary::setStringForKey_1(a2, \"2\", &a1->m_templateName);\n  DS_Dictionary::setIntegerForKey_1(a2, \"4\", a1->m_allowRotation);\n  DS_Dictionary::setIntegerForKey_1(a2, \"5\", a1->m_allowFlipX);\n  DS_Dictionary::setIntegerForKey_1(a2, \"6\", a1->m_allowFlipY);\n  DS_Dictionary::setIntegerForKey_1(a2, \"7\", a1->m_ignoreCorners);\n  DS_Dictionary::setDictForKey(a2, \"3\", a1->m_prefabArrays);\n}", "assembly": "; \n; GJSmartTemplate::encodeWithCoder from 0x100008618 to 0x1000086d4 (188 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100761c50\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100008618\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10000861c\nADD             X29, SP, #0x10                                         ; +0x8, 0x100008620\nMOV             X19, X1                                                ; +0xc, 0x100008624\nMOV             X20, X0                                                ; +0x10, 0x100008628\nADRL            X1, aKcek; \"kCEK\"                                      ; +0x14, 0x10000862c\nMOV             X0, X19                                                ; +0x1c, 0x100008634\nMOV             W2, #0xA                                               ; +0x20, 0x100008638\nBL              DS_Dictionary__setIntegerForKey_1                      ; +0x24, 0x10000863c\nLDR             W2, [X20,#0xC0]                                        ; +0x28, 0x100008640\nADRL            X1, a1; \"1\"                                            ; +0x2c, 0x100008644\nMOV             X0, X19                                                ; +0x34, 0x10000864c\nBL              DS_Dictionary__setIntegerForKey_1                      ; +0x38, 0x100008650\nADRL            X1, a2; \"2\"                                            ; +0x3c, 0x100008654\nADD             X2, X20, #0x90                                         ; +0x44, 0x10000865c\nMOV             X0, X19                                                ; +0x48, 0x100008660\nBL              DS_Dictionary__setStringForKey_1                       ; +0x4c, 0x100008664\nLDRB            W2, [X20,#0x8A]                                        ; +0x50, 0x100008668\nADRL            X1, a4; \"4\"                                            ; +0x54, 0x10000866c\nMOV             X0, X19                                                ; +0x5c, 0x100008674\nBL              DS_Dictionary__setIntegerForKey_1                      ; +0x60, 0x100008678\nLDRB            W2, [X20,#0x88]                                        ; +0x64, 0x10000867c\nADRL            X1, a5; \"5\"                                            ; +0x68, 0x100008680\nMOV             X0, X19                                                ; +0x70, 0x100008688\nBL              DS_Dictionary__setIntegerForKey_1                      ; +0x74, 0x10000868c\nLDRB            W2, [X20,#0x89]                                        ; +0x78, 0x100008690\nADRL            X1, a6; \"6\"                                            ; +0x7c, 0x100008694\nMOV             X0, X19                                                ; +0x84, 0x10000869c\nBL              DS_Dictionary__setIntegerForKey_1                      ; +0x88, 0x1000086a0\nLDRB            W2, [X20,#0x8B]                                        ; +0x8c, 0x1000086a4\nADRL            X1, a7; \"7\"                                            ; +0x90, 0x1000086a8\nMOV             X0, X19                                                ; +0x98, 0x1000086b0\nBL              DS_Dictionary__setIntegerForKey_1                      ; +0x9c, 0x1000086b4\nLDR             X2, [X20,#0x38]                                        ; +0xa0, 0x1000086b8\nADRL            X1, a3; \"3\"                                            ; +0xa4, 0x1000086bc\nMOV             X0, X19                                                ; +0xac, 0x1000086c4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xb0, 0x1000086c8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xb4, 0x1000086cc\nB               DS_Dictionary__setDictForKey                           ; +0xb8, 0x1000086d0", "xrefs": ["<???> @ 0x100761c50"], "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"}