{"type": "func", "start": 5373373840, "end": 5373373985, "name": "SetupStopTriggerPopup::onClose", "pseudocode": "// \n// SetupStopTriggerPopup::onClose from 0x140472d90 to 0x140472e21 (145 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405ffd80\n// > <???> @ 0x1406db378\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 SetupStopTriggerPopup::onClose(SetupStopTriggerPopup *a1, cocos2d::CCObject *a2)\n{\n  EffectGameObject *m_gameObject; // rcx\n  struct cocos2d::CCArray *m_gameObjects; // rdi\n  unsigned int i; // ebx\n  TriggerControlGameObject *v7; // rax\n\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n    m_gameObjects = cocos2d::CCArray::createWithObject(m_gameObject);\n  else\n    m_gameObjects = a1->m_gameObjects;\n  for ( i = 0; i < cocos2d::CCArray::count(m_gameObjects); ++i )\n  {\n    v7 = (TriggerControlGameObject *)cocos2d::CCArray::objectAtIndex(m_gameObjects, i);\n    TriggerControlGameObject::updateTriggerControlFrame(v7);\n  }\n  SetupTriggerPopup::onClose(a1, a2);\n}", "assembly": "; \n; SetupStopTriggerPopup::onClose from 0x140472d90 to 0x140472e21 (145 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405ffd80\n; > <???> @ 0x1406db378\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, 0x140472d90\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x140472d95\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x140472d9a\npush    rdi                                                            ; +0xf, 0x140472d9f\nsub     rsp, 20h                                                       ; +0x10, 0x140472da0\nmov     rsi, rcx                                                       ; +0x14, 0x140472da4\nmov     rbp, rdx                                                       ; +0x17, 0x140472da7\nmov     rcx, [rcx+290h]                                                ; +0x1a, 0x140472daa\ntest    rcx, rcx                                                       ; +0x21, 0x140472db1\njz      short loc_140472DC1                                            ; +0x24, 0x140472db4\ncall    cs:?createWithObject@CCArray@cocos2d@@SAPEAV12@PEAVCCObject@2@@Z; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0x26, 0x140472db6\nmov     rdi, rax                                                       ; +0x2c, 0x140472dbc\njmp     short loc_140472DC8                                            ; +0x2f, 0x140472dbf\nmov     rdi, [rsi+298h]                                                ; +0x31, 0x140472dc1\nmov     rcx, rdi                                                       ; +0x38, 0x140472dc8\nxor     ebx, ebx                                                       ; +0x3b, 0x140472dcb\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3d, 0x140472dcd\ntest    eax, eax                                                       ; +0x43, 0x140472dd3\njz      short loc_140472E02                                            ; +0x45, 0x140472dd5\nnop     word ptr [rax+rax+00000000h]                                   ; +0x47, 0x140472dd7\nmov     edx, ebx                                                       ; +0x50, 0x140472de0\nmov     rcx, rdi                                                       ; +0x52, 0x140472de2\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x55, 0x140472de5\nmov     rcx, rax                                                       ; +0x5b, 0x140472deb\ncall    TriggerControlGameObject__updateTriggerControlFrame            ; +0x5e, 0x140472dee\nmov     rcx, rdi                                                       ; +0x63, 0x140472df3\ninc     ebx                                                            ; +0x66, 0x140472df6\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x68, 0x140472df8\ncmp     ebx, eax                                                       ; +0x6e, 0x140472dfe\njb      short loc_140472DE0                                            ; +0x70, 0x140472e00\nmov     rdx, rbp                                                       ; +0x72, 0x140472e02\nmov     rcx, rsi                                                       ; +0x75, 0x140472e05\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x78, 0x140472e08\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x7d, 0x140472e0d\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x82, 0x140472e12\nadd     rsp, 20h                                                       ; +0x87, 0x140472e17\npop     rdi                                                            ; +0x8b, 0x140472e1b\njmp     SetupTriggerPopup__onClose                                     ; +0x8c, 0x140472e1c", "xrefs": ["<???> @ 0x1405ffd80", "<???> @ 0x1406db378"], "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"}