{"type": "func", "start": 5372979136, "end": 5372979354, "name": "SetupAreaAnimTriggerPopup::updateDefaultTriggerValues", "pseudocode": "// \n// SetupAreaAnimTriggerPopup::updateDefaultTriggerValues from 0x1404127c0 to 0x14041289a (218 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1405de1e0\n// > <???> @ 0x14069f7a8\n// > <???> @ 0x14069f7b8\n// > <???> @ 0x1406d8cd8\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 SetupAreaAnimTriggerPopup::updateDefaultTriggerValues(SetupAreaAnimTriggerPopup *a1)\n{\n  cocos2d::CCArray *v2; // rsi\n  unsigned int i; // ebx\n  unsigned int v4; // ebp\n  __int128 v5; // [rsp+20h] [rbp-48h] BYREF\n  __int64 v6; // [rsp+30h] [rbp-38h]\n  __int64 v7; // [rsp+38h] [rbp-30h]\n\n  SetupTriggerPopup::updateDefaultTriggerValues(a1);\n  v2 = cocos2d::CCDictionary::allKeys(a1->m_inputNodes);\n  for ( i = 0; i < cocos2d::CCArray::count(v2); ++i )\n  {\n    v4 = (unsigned int)cocos2d::CCArray::objectAtIndex(v2, i)[1].__vftable;\n    if ( a1->getValue(a1, v4) == -99.0 )\n    {\n      v6 = 2;\n      v5 = 0;\n      strcpy((char *)&v5, \"NA\");\n      v7 = 15;\n      SetupTriggerPopup::updateInputNodeLabel(a1, v4, &v5);\n    }\n  }\n  SetupAreaAnimTriggerPopup::updateTargetIDLabel(a1);\n}", "assembly": "; \n; SetupAreaAnimTriggerPopup::updateDefaultTriggerValues from 0x1404127c0 to 0x14041289a (218 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1405de1e0\n; > <???> @ 0x14069f7a8\n; > <???> @ 0x14069f7b8\n; > <???> @ 0x1406d8cd8\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, 0x1404127c0\npush    rsi                                                            ; +0x2, 0x1404127c2\npush    rdi                                                            ; +0x3, 0x1404127c3\nsub     rsp, 50h                                                       ; +0x4, 0x1404127c4\nmov     rdi, rcx                                                       ; +0x8, 0x1404127c8\ncall    SetupTriggerPopup__updateDefaultTriggerValues                  ; +0xb, 0x1404127cb\nmov     rcx, [rdi+2D8h]                                                ; +0x10, 0x1404127d0\ncall    cs:?allKeys@CCDictionary@cocos2d@@QEAAPEAVCCArray@2@XZ; cocos2d::CCDictionary::allKeys(void) ; +0x17, 0x1404127d7\nmov     rcx, rax                                                       ; +0x1d, 0x1404127dd\nmov     rsi, rax                                                       ; +0x20, 0x1404127e0\nxor     ebx, ebx                                                       ; +0x23, 0x1404127e3\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x25, 0x1404127e5\ntest    eax, eax                                                       ; +0x2b, 0x1404127eb\njz      loc_14041288B                                                  ; +0x2d, 0x1404127ed\nmov     [rsp+68h+arg_8], rbp                                           ; +0x33, 0x1404127f3\nmov     [rsp+68h+arg_10], r14                                          ; +0x38, 0x1404127f8\nmov     r14d, 414Eh                                                    ; +0x40, 0x140412800\nmovaps  [rsp+68h+var_28], xmm6                                         ; +0x46, 0x140412806\nmovss   xmm6, cs:dword_1406239E4                                       ; +0x4b, 0x14041280b\nmov     edx, ebx                                                       ; +0x53, 0x140412813\nmov     rcx, rsi                                                       ; +0x55, 0x140412815\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x58, 0x140412818\nmov     rcx, rdi                                                       ; +0x5e, 0x14041281e\nmov     ebp, [rax+38h]                                                 ; +0x61, 0x140412821\nmov     edx, ebp                                                       ; +0x64, 0x140412824\nmov     rax, [rdi]                                                     ; +0x66, 0x140412826\ncall    qword ptr [rax+470h]                                           ; +0x69, 0x140412829\nucomiss xmm0, xmm6                                                     ; +0x6f, 0x14041282f\njp      short loc_14041286A                                            ; +0x72, 0x140412832\njnz     short loc_14041286A                                            ; +0x74, 0x140412834\nxorps   xmm0, xmm0                                                     ; +0x76, 0x140412836\nmov     [rsp+68h+var_38], 2                                            ; +0x79, 0x140412839\nmovups  [rsp+68h+var_48], xmm0                                         ; +0x82, 0x140412842\nlea     r8, [rsp+68h+var_48]                                           ; +0x87, 0x140412847\nmov     word ptr [rsp+68h+var_48], r14w                                ; +0x8c, 0x14041284c\nmov     edx, ebp                                                       ; +0x92, 0x140412852\nmov     byte ptr [rsp+68h+var_48+2], 0                                 ; +0x94, 0x140412854\nmov     rcx, rdi                                                       ; +0x99, 0x140412859\nmov     [rsp+68h+var_30], 0Fh                                          ; +0x9c, 0x14041285c\ncall    SetupTriggerPopup__updateInputNodeLabel                        ; +0xa5, 0x140412865\nmov     rcx, rsi                                                       ; +0xaa, 0x14041286a\ninc     ebx                                                            ; +0xad, 0x14041286d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xaf, 0x14041286f\ncmp     ebx, eax                                                       ; +0xb5, 0x140412875\njb      short loc_140412813                                            ; +0xb7, 0x140412877\nmovaps  xmm6, [rsp+68h+var_28]                                         ; +0xb9, 0x140412879\nmov     r14, [rsp+68h+arg_10]                                          ; +0xbe, 0x14041287e\nmov     rbp, [rsp+68h+arg_8]                                           ; +0xc6, 0x140412886\nmov     rcx, rdi                                                       ; +0xcb, 0x14041288b\nadd     rsp, 50h                                                       ; +0xce, 0x14041288e\npop     rdi                                                            ; +0xd2, 0x140412892\npop     rsi                                                            ; +0xd3, 0x140412893\npop     rbx                                                            ; +0xd4, 0x140412894\njmp     SetupAreaAnimTriggerPopup__updateTargetIDLabel                 ; +0xd5, 0x140412895", "xrefs": ["<???> @ 0x1405de1e0", "<???> @ 0x14069f7a8", "<???> @ 0x14069f7b8", "<???> @ 0x1406d8cd8"], "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"}