{"type": "func", "start": 5372944144, "end": 5372944267, "name": "SetupAnimationPopup::updateAnimationTextInputLabel", "pseudocode": "// \n// SetupAnimationPopup::updateAnimationTextInputLabel from 0x140409f10 to 0x140409f8b (123 bytes)\n// \n// 3 xrefs:\n// > SetupAnimationPopup::init @ 0x140409ac4\n// > SetupAnimationPopup::onAnimationIDArrow @ 0x140409c87\n// > <???> @ 0x1406d8a68\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 SetupAnimationPopup::updateAnimationTextInputLabel(SetupAnimationPopup *a1)\n{\n  int m_animationID; // edx\n  cocos2d::CCString *v3; // rax\n  const char *CString; // rax\n  size_t v5; // r8\n  __int128 v6; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v7; // [rsp+30h] [rbp-18h]\n  __int64 v8; // [rsp+38h] [rbp-10h]\n\n  m_animationID = a1->m_animationID;\n  a1->m_disableTextDelegate = 1;\n  v3 = cocos2d::CCString::createWithFormat(\"%i\", m_animationID);\n  CString = cocos2d::CCString::getCString(v3);\n  v6 = 0;\n  v7 = 0;\n  v5 = -1;\n  v8 = 0;\n  do\n    ++v5;\n  while ( CString[v5] );\n  sub_14003A930(&v6, CString, v5);\n  CCTextInputNode::setString((__int64)a1->m_animationIDInput, &v6);\n  a1->m_disableTextDelegate = 0;\n}", "assembly": "; \n; SetupAnimationPopup::updateAnimationTextInputLabel from 0x140409f10 to 0x140409f8b (123 bytes)\n; \n; 3 xrefs:\n; > SetupAnimationPopup::init @ 0x140409ac4\n; > SetupAnimationPopup::onAnimationIDArrow @ 0x140409c87\n; > <???> @ 0x1406d8a68\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, 0x140409f10\nsub     rsp, 40h                                                       ; +0x2, 0x140409f12\nmov     edx, [rcx+3BCh]                                                ; +0x6, 0x140409f16\nmov     rbx, rcx                                                       ; +0xc, 0x140409f1c\nmov     byte ptr [rcx+2CCh], 1                                         ; +0xf, 0x140409f1f\nlea     rcx, aI_11; \"%i\"                                               ; +0x16, 0x140409f26\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1d, 0x140409f2d\nmov     rcx, rax                                                       ; +0x23, 0x140409f33\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x26, 0x140409f36\nxor     ecx, ecx                                                       ; +0x2c, 0x140409f3c\nxorps   xmm0, xmm0                                                     ; +0x2e, 0x140409f3e\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x31, 0x140409f41\nmov     [rsp+48h+var_18], rcx                                          ; +0x36, 0x140409f46\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x3b, 0x140409f4b\nmov     [rsp+48h+var_10], rcx                                          ; +0x42, 0x140409f52\ninc     r8                                                             ; +0x47, 0x140409f57\ncmp     [rax+r8], cl                                                   ; +0x4a, 0x140409f5a\njnz     short loc_140409F57                                            ; +0x4e, 0x140409f5e\nmov     rdx, rax                                                       ; +0x50, 0x140409f60\nlea     rcx, [rsp+48h+var_28]                                          ; +0x53, 0x140409f63\ncall    sub_14003A930                                                  ; +0x58, 0x140409f68\nmov     rcx, [rbx+3B0h]                                                ; +0x5d, 0x140409f6d\nlea     rdx, [rsp+48h+var_28]                                          ; +0x64, 0x140409f74\ncall    CCTextInputNode__setString                                     ; +0x69, 0x140409f79\nmov     byte ptr [rbx+2CCh], 0                                         ; +0x6e, 0x140409f7e\nadd     rsp, 40h                                                       ; +0x75, 0x140409f85\npop     rbx                                                            ; +0x79, 0x140409f89\nretn                                                                   ; +0x7a, 0x140409f8a", "xrefs": ["SetupAnimationPopup::init @ 0x140409ac4", "SetupAnimationPopup::onAnimationIDArrow @ 0x140409c87", "<???> @ 0x1406d8a68"], "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"}