{"type": "func", "start": 5372926688, "end": 5372926835, "name": "SetupAdvFollowPopup::updateMode", "pseudocode": "// \n// SetupAdvFollowPopup::updateMode from 0x140405ae0 to 0x140405b73 (147 bytes)\n// \n// 3 xrefs:\n// > SetupAdvFollowPopup::onMode @ 0x140405acc\n// > SetupAdvFollowPopup::selectPremadeClosed @ 0x140406b91\n// > <???> @ 0x1406d893c\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 SetupAdvFollowPopup::updateMode(SetupAdvFollowPopup *a1, int a2)\n{\n  cocos2d::CCNode *v3; // rsi\n  unsigned int v4; // edi\n  SetupAdvFollowPopup *v5; // rbx\n\n  SetupTriggerPopup::updateValue(a1, 367, (float)a2);\n  v3 = a1->getParent(a1);\n  v4 = a1->getZOrder(a1);\n  a1->onClose(a1, nullptr);\n  v5 = SetupAdvFollowPopup::create((AdvancedFollowTriggerObject *)a1->m_gameObject, a1->m_gameObjects);\n  v3->addChild_0(v3, v5, v4);\n  SetupTriggerPopup::goToPage(v5, 1, 0);\n}", "assembly": "; \n; SetupAdvFollowPopup::updateMode from 0x140405ae0 to 0x140405b73 (147 bytes)\n; \n; 3 xrefs:\n; > SetupAdvFollowPopup::onMode @ 0x140405acc\n; > SetupAdvFollowPopup::selectPremadeClosed @ 0x140406b91\n; > <???> @ 0x1406d893c\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, 0x140405ae0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140405ae5\npush    rdi                                                            ; +0xa, 0x140405aea\nsub     rsp, 20h                                                       ; +0xb, 0x140405aeb\nmovd    xmm2, edx                                                      ; +0xf, 0x140405aef\nmov     rbx, rcx                                                       ; +0x13, 0x140405af3\ncvtdq2ps xmm2, xmm2                                                    ; +0x16, 0x140405af6\nmov     edx, 16Fh                                                      ; +0x19, 0x140405af9\ncall    SetupTriggerPopup__updateValue                                 ; +0x1e, 0x140405afe\nmov     rax, [rbx]                                                     ; +0x23, 0x140405b03\nmov     rcx, rbx                                                       ; +0x26, 0x140405b06\ncall    qword ptr [rax+1E8h]                                           ; +0x29, 0x140405b09\nmov     rdx, [rbx]                                                     ; +0x2f, 0x140405b0f\nmov     rcx, rbx                                                       ; +0x32, 0x140405b12\nmov     rsi, rax                                                       ; +0x35, 0x140405b15\ncall    qword ptr [rdx+60h]                                            ; +0x38, 0x140405b18\nmov     r8, [rbx]                                                      ; +0x3b, 0x140405b1b\nxor     edx, edx                                                       ; +0x3e, 0x140405b1e\nmov     rcx, rbx                                                       ; +0x40, 0x140405b20\nmov     edi, eax                                                       ; +0x43, 0x140405b23\ncall    qword ptr [r8+430h]                                            ; +0x45, 0x140405b25\nmov     rdx, [rbx+298h]                                                ; +0x4c, 0x140405b2c\nmov     rcx, [rbx+290h]                                                ; +0x53, 0x140405b33\ncall    SetupAdvFollowPopup__create                                    ; +0x5a, 0x140405b3a\nmov     r9, [rsi]                                                      ; +0x5f, 0x140405b3f\nmov     r8d, edi                                                       ; +0x62, 0x140405b42\nmov     rdx, rax                                                       ; +0x65, 0x140405b45\nmov     rcx, rsi                                                       ; +0x68, 0x140405b48\nmov     rbx, rax                                                       ; +0x6b, 0x140405b4b\ncall    qword ptr [r9+1B8h]                                            ; +0x6e, 0x140405b4e\nxor     r8d, r8d                                                       ; +0x75, 0x140405b55\nmov     rcx, rbx                                                       ; +0x78, 0x140405b58\nlea     edx, [r8+1]                                                    ; +0x7b, 0x140405b5b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7f, 0x140405b5f\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x84, 0x140405b64\nadd     rsp, 20h                                                       ; +0x89, 0x140405b69\npop     rdi                                                            ; +0x8d, 0x140405b6d\njmp     SetupTriggerPopup__goToPage                                    ; +0x8e, 0x140405b6e", "xrefs": ["SetupAdvFollowPopup::onMode @ 0x140405acc", "SetupAdvFollowPopup::selectPremadeClosed @ 0x140406b91", "<???> @ 0x1406d893c"], "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"}