{"type": "func", "start": 5373076320, "end": 5373076429, "name": "SetupObjectTogglePopup::valueDidChange", "pseudocode": "// \n// SetupObjectTogglePopup::valueDidChange from 0x14042a360 to 0x14042a3cd (109 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1405e8968\n// > <???> @ 0x1406a0e58\n// > <???> @ 0x1406a0e68\n// > <???> @ 0x1406d98fc\n// > <???> @ 0x1406d9908\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 SetupObjectTogglePopup::valueDidChange(SetupObjectTogglePopup *a1, int a2, float a3)\n{\n  EffectGameObject *m_gameObject; // rcx\n  struct cocos2d::CCArray *m_gameObjects; // rdi\n  unsigned int i; // ebx\n  EffectGameObject *v7; // rax\n\n  if ( a2 == 56 )\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 = (EffectGameObject *)cocos2d::CCArray::objectAtIndex(m_gameObjects, i);\n      EffectGameObject::updateSpecialColor(v7);\n    }\n  }\n}", "assembly": "; \n; SetupObjectTogglePopup::valueDidChange from 0x14042a360 to 0x14042a3cd (109 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1405e8968\n; > <???> @ 0x1406a0e58\n; > <???> @ 0x1406a0e68\n; > <???> @ 0x1406d98fc\n; > <???> @ 0x1406d9908\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\ncmp     edx, 38h ; '8'                                                 ; +0x0, 0x14042a360\njnz     short locret_14042A3CC                                         ; +0x3, 0x14042a363\npush    rdi                                                            ; +0x5, 0x14042a365\nsub     rsp, 20h                                                       ; +0x6, 0x14042a366\nmov     rdi, rcx                                                       ; +0xa, 0x14042a36a\nmov     [rsp+28h+arg_0], rbx                                           ; +0xd, 0x14042a36d\nmov     rcx, [rcx+290h]                                                ; +0x12, 0x14042a372\ntest    rcx, rcx                                                       ; +0x19, 0x14042a379\njz      short loc_14042A389                                            ; +0x1c, 0x14042a37c\ncall    cs:?createWithObject@CCArray@cocos2d@@SAPEAV12@PEAVCCObject@2@@Z; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0x1e, 0x14042a37e\nmov     rdi, rax                                                       ; +0x24, 0x14042a384\njmp     short loc_14042A390                                            ; +0x27, 0x14042a387\nmov     rdi, [rdi+298h]                                                ; +0x29, 0x14042a389\nmov     rcx, rdi                                                       ; +0x30, 0x14042a390\nxor     ebx, ebx                                                       ; +0x33, 0x14042a393\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x35, 0x14042a395\ntest    eax, eax                                                       ; +0x3b, 0x14042a39b\njz      short loc_14042A3C2                                            ; +0x3d, 0x14042a39d\nnop                                                                    ; +0x3f, 0x14042a39f\nmov     edx, ebx                                                       ; +0x40, 0x14042a3a0\nmov     rcx, rdi                                                       ; +0x42, 0x14042a3a2\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x45, 0x14042a3a5\nmov     rcx, rax                                                       ; +0x4b, 0x14042a3ab\ncall    EffectGameObject__updateSpecialColor                           ; +0x4e, 0x14042a3ae\nmov     rcx, rdi                                                       ; +0x53, 0x14042a3b3\ninc     ebx                                                            ; +0x56, 0x14042a3b6\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x58, 0x14042a3b8\ncmp     ebx, eax                                                       ; +0x5e, 0x14042a3be\njb      short loc_14042A3A0                                            ; +0x60, 0x14042a3c0\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x62, 0x14042a3c2\nadd     rsp, 20h                                                       ; +0x67, 0x14042a3c7\npop     rdi                                                            ; +0x6b, 0x14042a3cb\nretn                                                                   ; +0x6c, 0x14042a3cc", "xrefs": ["<???> @ 0x1405e8968", "<???> @ 0x1406a0e58", "<???> @ 0x1406a0e68", "<???> @ 0x1406d98fc", "<???> @ 0x1406d9908"], "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"}