{"type": "func", "start": 5373384144, "end": 5373384289, "name": "SetupTriggerPopup::updateTouchTriggered", "pseudocode": "// \n// SetupTriggerPopup::updateTouchTriggered from 0x1404755d0 to 0x140475661 (145 bytes)\n// \n// 5 xrefs:\n// > SetupTriggerPopup::onTouchTriggered @ 0x1404755c5\n// > SetupTriggerPopup::onSpawnedByTrigger @ 0x140475695\n// > <???> @ 0x1406a5714\n// > <???> @ 0x1406a5724\n// > <???> @ 0x1406db54c\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 SetupTriggerPopup::updateTouchTriggered(SetupTriggerPopup *a1)\n{\n  EffectGameObject *m_gameObject; // rcx\n  cocos2d::CCArray *m_gameObjects; // rcx\n  unsigned int v4; // edi\n  struct cocos2d::CCObject *v5; // rax\n\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_isTouchTriggered = a1->m_touchTriggered;\n    SetupTriggerPopup::updateMultiTriggerBtn(a1);\n  }\n  else\n  {\n    m_gameObjects = a1->m_gameObjects;\n    if ( m_gameObjects )\n    {\n      v4 = 0;\n      if ( cocos2d::CCArray::count(m_gameObjects) )\n      {\n        do\n        {\n          v5 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v4++);\n          LOBYTE(v5[26].m_uIndexInArray) = a1->m_touchTriggered;\n        }\n        while ( v4 < cocos2d::CCArray::count(a1->m_gameObjects) );\n      }\n    }\n    SetupTriggerPopup::updateMultiTriggerBtn(a1);\n  }\n}", "assembly": "; \n; SetupTriggerPopup::updateTouchTriggered from 0x1404755d0 to 0x140475661 (145 bytes)\n; \n; 5 xrefs:\n; > SetupTriggerPopup::onTouchTriggered @ 0x1404755c5\n; > SetupTriggerPopup::onSpawnedByTrigger @ 0x140475695\n; > <???> @ 0x1406a5714\n; > <???> @ 0x1406a5724\n; > <???> @ 0x1406db54c\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\npush    rbx                                                            ; +0x0, 0x1404755d0\nsub     rsp, 20h                                                       ; +0x2, 0x1404755d2\nmov     rbx, rcx                                                       ; +0x6, 0x1404755d6\nmov     rcx, [rcx+290h]                                                ; +0x9, 0x1404755d9\ntest    rcx, rcx                                                       ; +0x10, 0x1404755e0\njz      short loc_1404755FF                                            ; +0x13, 0x1404755e3\nmovzx   eax, byte ptr [rbx+2A0h]                                       ; +0x15, 0x1404755e5\nmov     [rcx+5D0h], al                                                 ; +0x1c, 0x1404755ec\nmov     rcx, rbx                                                       ; +0x22, 0x1404755f2\nadd     rsp, 20h                                                       ; +0x25, 0x1404755f5\npop     rbx                                                            ; +0x29, 0x1404755f9\njmp     SetupTriggerPopup__updateMultiTriggerBtn                       ; +0x2a, 0x1404755fa\nmov     rcx, [rbx+298h]                                                ; +0x2f, 0x1404755ff\ntest    rcx, rcx                                                       ; +0x36, 0x140475606\njz      short loc_140475654                                            ; +0x39, 0x140475609\nmov     [rsp+28h+arg_0], rdi                                           ; +0x3b, 0x14047560b\nxor     edi, edi                                                       ; +0x40, 0x140475610\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x42, 0x140475612\ntest    eax, eax                                                       ; +0x48, 0x140475618\njz      short loc_14047564F                                            ; +0x4a, 0x14047561a\nnop     dword ptr [rax+00h]                                            ; +0x4c, 0x14047561c\nmov     rcx, [rbx+298h]                                                ; +0x50, 0x140475620\nmov     edx, edi                                                       ; +0x57, 0x140475627\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x140475629\nmovzx   ecx, byte ptr [rbx+2A0h]                                       ; +0x5f, 0x14047562f\ninc     edi                                                            ; +0x66, 0x140475636\nmov     [rax+5D0h], cl                                                 ; +0x68, 0x140475638\nmov     rcx, [rbx+298h]                                                ; +0x6e, 0x14047563e\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x75, 0x140475645\ncmp     edi, eax                                                       ; +0x7b, 0x14047564b\njb      short loc_140475620                                            ; +0x7d, 0x14047564d\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x7f, 0x14047564f\nmov     rcx, rbx                                                       ; +0x84, 0x140475654\nadd     rsp, 20h                                                       ; +0x87, 0x140475657\npop     rbx                                                            ; +0x8b, 0x14047565b\njmp     SetupTriggerPopup__updateMultiTriggerBtn                       ; +0x8c, 0x14047565c", "xrefs": ["SetupTriggerPopup::onTouchTriggered @ 0x1404755c5", "SetupTriggerPopup::onSpawnedByTrigger @ 0x140475695", "<???> @ 0x1406a5714", "<???> @ 0x1406a5724", "<???> @ 0x1406db54c"], "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"}