{"type": "func", "start": 5373750848, "end": 5373751016, "name": "GJUINode::saveToConfig", "pseudocode": "// \n// GJUINode::saveToConfig from 0x1404cee40 to 0x1404ceee8 (168 bytes)\n// \n// 6 xrefs:\n// > UIOptionsLayer::onClose @ 0x1402a2e59\n// > UIOptionsLayer::onClose @ 0x1402a2ea5\n// > UIOptionsLayer::onClose @ 0x1402a2ef3\n// > UIOptionsLayer::onClose @ 0x1402a2fd0\n// > UIOptionsLayer::onClose @ 0x1402a301e\n// > <???> @ 0x1406dd568\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 GJUINode::saveToConfig(GJUINode *a1, UIButtonConfig *a2)\n{\n  const cocos2d::CCPoint *v4; // rax\n\n  a2->m_width = (int)a1->m_rect.size.width;\n  a2->m_height = (int)a1->m_rect.size.height;\n  a2->m_scale = a1->m_firstSprite->getScale(a1->m_firstSprite);\n  a2->m_opacity = a1->m_firstSprite->getOpacity(&a1->m_firstSprite->cocos2d::CCRGBAProtocol);\n  a2->m_radius = a1->m_radius;\n  a2->m_deadzone = a1->m_deadzone;\n  a2->m_modeB = a1->m_modeB;\n  v4 = a1->getPosition_0(a1);\n  cocos2d::CCPoint::operator=(&a2->m_position, v4);\n  a2->m_snap = a1->m_snap;\n  a2->m_split = a1->m_split;\n}", "assembly": "; \n; GJUINode::saveToConfig from 0x1404cee40 to 0x1404ceee8 (168 bytes)\n; \n; 6 xrefs:\n; > UIOptionsLayer::onClose @ 0x1402a2e59\n; > UIOptionsLayer::onClose @ 0x1402a2ea5\n; > UIOptionsLayer::onClose @ 0x1402a2ef3\n; > UIOptionsLayer::onClose @ 0x1402a2fd0\n; > UIOptionsLayer::onClose @ 0x1402a301e\n; > <???> @ 0x1406dd568\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, 0x1404cee40\npush    rdi                                                            ; +0x5, 0x1404cee45\nsub     rsp, 20h                                                       ; +0x6, 0x1404cee46\ncvttss2si eax, dword ptr [rcx+158h]                                    ; +0xa, 0x1404cee4a\nmov     rbx, rcx                                                       ; +0x12, 0x1404cee52\nmov     rdi, rdx                                                       ; +0x15, 0x1404cee55\nmov     [rdx], eax                                                     ; +0x18, 0x1404cee58\ncvttss2si eax, dword ptr [rcx+15Ch]                                    ; +0x1a, 0x1404cee5a\nmov     [rdx+4], eax                                                   ; +0x22, 0x1404cee62\nmov     rcx, [rcx+140h]                                                ; +0x25, 0x1404cee65\nmov     rax, [rcx]                                                     ; +0x2c, 0x1404cee6c\ncall    qword ptr [rax+0A8h]                                           ; +0x2f, 0x1404cee6f\nmovss   dword ptr [rdi+0Ch], xmm0                                      ; +0x35, 0x1404cee75\nmov     rcx, [rbx+140h]                                                ; +0x3a, 0x1404cee7a\nadd     rcx, 140h                                                      ; +0x41, 0x1404cee81\nmov     rax, [rcx]                                                     ; +0x48, 0x1404cee88\ncall    qword ptr [rax+20h]                                            ; +0x4b, 0x1404cee8b\nmovzx   eax, al                                                        ; +0x4e, 0x1404cee8e\nmov     rcx, rbx                                                       ; +0x51, 0x1404cee91\nmov     [rdi+10h], eax                                                 ; +0x54, 0x1404cee94\nmov     eax, [rbx+174h]                                                ; +0x57, 0x1404cee97\nmov     [rdi+14h], eax                                                 ; +0x5d, 0x1404cee9d\nmov     eax, [rbx+178h]                                                ; +0x60, 0x1404ceea0\nmov     [rdi+8], eax                                                   ; +0x66, 0x1404ceea6\nmovzx   eax, byte ptr [rbx+17Dh]                                       ; +0x69, 0x1404ceea9\nmov     [rdi+18h], al                                                  ; +0x70, 0x1404ceeb0\nmov     rax, [rbx]                                                     ; +0x73, 0x1404ceeb3\ncall    qword ptr [rax+0C8h]                                           ; +0x76, 0x1404ceeb6\nmov     rdx, rax                                                       ; +0x7c, 0x1404ceebc\nlea     rcx, [rdi+1Ch]                                                 ; +0x7f, 0x1404ceebf\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x83, 0x1404ceec3\nmovzx   eax, byte ptr [rbx+17Eh]                                       ; +0x89, 0x1404ceec9\nmov     [rdi+19h], al                                                  ; +0x90, 0x1404ceed0\nmovzx   eax, byte ptr [rbx+183h]                                       ; +0x93, 0x1404ceed3\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x9a, 0x1404ceeda\nmov     [rdi+26h], al                                                  ; +0x9f, 0x1404ceedf\nadd     rsp, 20h                                                       ; +0xa2, 0x1404ceee2\npop     rdi                                                            ; +0xa6, 0x1404ceee6\nretn                                                                   ; +0xa7, 0x1404ceee7", "xrefs": ["UIOptionsLayer::onClose @ 0x1402a2e59", "UIOptionsLayer::onClose @ 0x1402a2ea5", "UIOptionsLayer::onClose @ 0x1402a2ef3", "UIOptionsLayer::onClose @ 0x1402a2fd0", "UIOptionsLayer::onClose @ 0x1402a301e", "<???> @ 0x1406dd568"], "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"}