{"type": "func", "start": 5372947216, "end": 5372947348, "name": "SetupAnimSettingsPopup::onClose", "pseudocode": "// \n// SetupAnimSettingsPopup::onClose from 0x14040ab10 to 0x14040ab94 (132 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1405dadf8\n// > <???> @ 0x14069f18c\n// > <???> @ 0x14069f19c\n// > <???> @ 0x1406d8ac8\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 SetupAnimSettingsPopup::onClose(SetupAnimSettingsPopup *a1, cocos2d::CCObject *a2)\n{\n  EffectGameObject *m_gameObject; // rcx\n  unsigned int i; // edi\n  EnhancedGameObject *v6; // rax\n\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    EnhancedGameObject::setupAnimationVariables(m_gameObject);\n  }\n  else\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); ++i )\n    {\n      v6 = (EnhancedGameObject *)cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i);\n      EnhancedGameObject::setupAnimationVariables(v6);\n    }\n  }\n  SetupTriggerPopup::onClose(a1, a2);\n}", "assembly": "; \n; SetupAnimSettingsPopup::onClose from 0x14040ab10 to 0x14040ab94 (132 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1405dadf8\n; > <???> @ 0x14069f18c\n; > <???> @ 0x14069f19c\n; > <???> @ 0x1406d8ac8\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_8], rbx                                               ; +0x0, 0x14040ab10\npush    rsi                                                            ; +0x5, 0x14040ab15\nsub     rsp, 20h                                                       ; +0x6, 0x14040ab16\nmov     rbx, rcx                                                       ; +0xa, 0x14040ab1a\nmov     rsi, rdx                                                       ; +0xd, 0x14040ab1d\nmov     rcx, [rcx+290h]                                                ; +0x10, 0x14040ab20\ntest    rcx, rcx                                                       ; +0x17, 0x14040ab27\njz      short loc_14040AB33                                            ; +0x1a, 0x14040ab2a\ncall    EnhancedGameObject__setupAnimationVariables                    ; +0x1c, 0x14040ab2c\njmp     short loc_14040AB7F                                            ; +0x21, 0x14040ab31\nmov     rcx, [rbx+298h]                                                ; +0x23, 0x14040ab33\nmov     [rsp+28h+arg_0], rdi                                           ; +0x2a, 0x14040ab3a\nxor     edi, edi                                                       ; +0x2f, 0x14040ab3f\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x31, 0x14040ab41\ntest    eax, eax                                                       ; +0x37, 0x14040ab47\njz      short loc_14040AB7A                                            ; +0x39, 0x14040ab49\nnop     dword ptr [rax+rax+00h]                                        ; +0x3b, 0x14040ab4b\nmov     rcx, [rbx+298h]                                                ; +0x40, 0x14040ab50\nmov     edx, edi                                                       ; +0x47, 0x14040ab57\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x14040ab59\nmov     rcx, rax                                                       ; +0x4f, 0x14040ab5f\ncall    EnhancedGameObject__setupAnimationVariables                    ; +0x52, 0x14040ab62\nmov     rcx, [rbx+298h]                                                ; +0x57, 0x14040ab67\ninc     edi                                                            ; +0x5e, 0x14040ab6e\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x60, 0x14040ab70\ncmp     edi, eax                                                       ; +0x66, 0x14040ab76\njb      short loc_14040AB50                                            ; +0x68, 0x14040ab78\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x6a, 0x14040ab7a\nmov     rdx, rsi                                                       ; +0x6f, 0x14040ab7f\nmov     rcx, rbx                                                       ; +0x72, 0x14040ab82\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x75, 0x14040ab85\nadd     rsp, 20h                                                       ; +0x7a, 0x14040ab8a\npop     rsi                                                            ; +0x7e, 0x14040ab8e\njmp     SetupTriggerPopup__onClose                                     ; +0x7f, 0x14040ab8f", "xrefs": ["<???> @ 0x1405dadf8", "<???> @ 0x14069f18c", "<???> @ 0x14069f19c", "<???> @ 0x1406d8ac8"], "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"}