{"type": "func", "start": 5371549712, "end": 5371549923, "name": "GJSmartTemplate::encodeWithCoder", "pseudocode": "// \n// GJSmartTemplate::encodeWithCoder from 0x1402b5810 to 0x1402b58e3 (211 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14057f4b0\n// > <???> @ 0x1406d2438\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 GJSmartTemplate::encodeWithCoder(GJSmartTemplate *a1, DS_Dictionary *a2)\n{\n  DS_Dictionary::setIntegerForKey(a2, \"kCEK\", 10);\n  DS_Dictionary::setIntegerForKey(a2, (const char *)&word_140531EA4, a1->m_nameIndex);\n  DS_Dictionary::setStringForKey(a2, &word_140531EA0, &a1->m_templateName);\n  DS_Dictionary::setIntegerForKey(a2, (const char *)&word_140531E94, a1->m_allowRotation);\n  DS_Dictionary::setIntegerForKey(a2, (const char *)&word_140531E90, a1->m_allowFlipX);\n  DS_Dictionary::setIntegerForKey(a2, \"6\", a1->m_allowFlipY);\n  DS_Dictionary::setIntegerForKey(a2, (const char *)&word_140531E88, a1->m_ignoreCorners);\n  DS_Dictionary::setDictForKey(a2, (const char *)&word_140531E9C, a1->m_prefabArrays);\n}", "assembly": "; \n; GJSmartTemplate::encodeWithCoder from 0x1402b5810 to 0x1402b58e3 (211 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14057f4b0\n; > <???> @ 0x1406d2438\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1402b5810\npush    rdi                                                            ; +0x5, 0x1402b5815\nsub     rsp, 20h                                                       ; +0x6, 0x1402b5816\nmov     rdi, rdx                                                       ; +0xa, 0x1402b581a\nmov     rbx, rcx                                                       ; +0xd, 0x1402b581d\nmov     rcx, rdi                                                       ; +0x10, 0x1402b5820\nlea     rdx, aKcek; \"kCEK\"                                             ; +0x13, 0x1402b5823\nmov     r8d, 0Ah                                                       ; +0x1a, 0x1402b582a\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x20, 0x1402b5830\nmov     r8d, [rbx+0C8h]                                                ; +0x26, 0x1402b5836\nlea     rdx, word_140531EA4                                            ; +0x2d, 0x1402b583d\nmov     rcx, rdi                                                       ; +0x34, 0x1402b5844\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x37, 0x1402b5847\nlea     r8, [rbx+88h]                                                  ; +0x3d, 0x1402b584d\nmov     rcx, rdi                                                       ; +0x44, 0x1402b5854\nlea     rdx, word_140531EA0                                            ; +0x47, 0x1402b5857\ncall    cs:?setStringForKey@DS_Dictionary@@QEAAXPEBDAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; DS_Dictionary::setStringForKey(char const *,std::string const &) ; +0x4e, 0x1402b585e\nmovzx   r8d, byte ptr [rbx+82h]                                        ; +0x54, 0x1402b5864\nlea     rdx, word_140531E94                                            ; +0x5c, 0x1402b586c\nmov     rcx, rdi                                                       ; +0x63, 0x1402b5873\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x66, 0x1402b5876\nmovzx   r8d, byte ptr [rbx+80h]                                        ; +0x6c, 0x1402b587c\nlea     rdx, word_140531E90                                            ; +0x74, 0x1402b5884\nmov     rcx, rdi                                                       ; +0x7b, 0x1402b588b\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x7e, 0x1402b588e\nmovzx   r8d, byte ptr [rbx+81h]                                        ; +0x84, 0x1402b5894\nlea     rdx, a6; \"6\"                                                   ; +0x8c, 0x1402b589c\nmov     rcx, rdi                                                       ; +0x93, 0x1402b58a3\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x96, 0x1402b58a6\nmovzx   r8d, byte ptr [rbx+83h]                                        ; +0x9c, 0x1402b58ac\nlea     rdx, word_140531E88                                            ; +0xa4, 0x1402b58b4\nmov     rcx, rdi                                                       ; +0xab, 0x1402b58bb\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0xae, 0x1402b58be\nmov     r8, [rbx+38h]                                                  ; +0xb4, 0x1402b58c4\nlea     rdx, word_140531E9C                                            ; +0xb8, 0x1402b58c8\nmov     rcx, rdi                                                       ; +0xbf, 0x1402b58cf\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xc2, 0x1402b58d2\nadd     rsp, 20h                                                       ; +0xc7, 0x1402b58d7\npop     rdi                                                            ; +0xcb, 0x1402b58db\njmp     cs:?setDictForKey@DS_Dictionary@@QEAAXPEBDPEAVCCDictionary@cocos2d@@@Z; DS_Dictionary::setDictForKey(char const *,cocos2d::CCDictionary *) ; +0xcc, 0x1402b58dc", "xrefs": ["<???> @ 0x14057f4b0", "<???> @ 0x1406d2438"], "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"}