{"type": "func", "start": 5373019680, "end": 5373019803, "name": "SetupCountTriggerPopup::updateTargetIDInputLabel", "pseudocode": "// \n// SetupCountTriggerPopup::updateTargetIDInputLabel from 0x14041c620 to 0x14041c69b (123 bytes)\n// \n// 5 xrefs:\n// > SetupCountTriggerPopup::init @ 0x14041bb6f\n// > SetupCountTriggerPopup::onTargetIDArrow @ 0x14041c317\n// > SetupInstantCountPopup::init @ 0x140422f98\n// > SetupInstantCountPopup::onTargetID2Arrow @ 0x140423487\n// > <???> @ 0x1406d932c\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\n// Merged with: SetupCountTriggerPopup::updateTargetIDInputLabel, SetupInstantCountPopup::updateTargetIDInputLabel\nvoid __fastcall SetupCountTriggerPopup::updateTargetIDInputLabel(__int64 a1)\n{\n  int v1; // 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  v1 = *(_DWORD *)(a1 + 964);\n  *(_BYTE *)(a1 + 716) = 1;\n  v3 = cocos2d::CCString::createWithFormat(\"%i\", v1);\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(*(_QWORD *)(a1 + 944), &v6);\n  *(_BYTE *)(a1 + 716) = 0;\n}", "assembly": "; \n; SetupCountTriggerPopup::updateTargetIDInputLabel from 0x14041c620 to 0x14041c69b (123 bytes)\n; \n; 5 xrefs:\n; > SetupCountTriggerPopup::init @ 0x14041bb6f\n; > SetupCountTriggerPopup::onTargetIDArrow @ 0x14041c317\n; > SetupInstantCountPopup::init @ 0x140422f98\n; > SetupInstantCountPopup::onTargetID2Arrow @ 0x140423487\n; > <???> @ 0x1406d932c\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, 0x14041c620\nsub     rsp, 40h                                                       ; +0x2, 0x14041c622\nmov     edx, [rcx+3C4h]                                                ; +0x6, 0x14041c626\nmov     rbx, rcx                                                       ; +0xc, 0x14041c62c\nmov     byte ptr [rcx+2CCh], 1                                         ; +0xf, 0x14041c62f\nlea     rcx, aI_11; \"%i\"                                               ; +0x16, 0x14041c636\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1d, 0x14041c63d\nmov     rcx, rax                                                       ; +0x23, 0x14041c643\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x26, 0x14041c646\nxor     ecx, ecx                                                       ; +0x2c, 0x14041c64c\nxorps   xmm0, xmm0                                                     ; +0x2e, 0x14041c64e\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x31, 0x14041c651\nmov     [rsp+48h+var_18], rcx                                          ; +0x36, 0x14041c656\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x3b, 0x14041c65b\nmov     [rsp+48h+var_10], rcx                                          ; +0x42, 0x14041c662\ninc     r8                                                             ; +0x47, 0x14041c667\ncmp     [rax+r8], cl                                                   ; +0x4a, 0x14041c66a\njnz     short loc_14041C667                                            ; +0x4e, 0x14041c66e\nmov     rdx, rax                                                       ; +0x50, 0x14041c670\nlea     rcx, [rsp+48h+var_28]                                          ; +0x53, 0x14041c673\ncall    sub_14003A930                                                  ; +0x58, 0x14041c678\nmov     rcx, [rbx+3B0h]                                                ; +0x5d, 0x14041c67d\nlea     rdx, [rsp+48h+var_28]                                          ; +0x64, 0x14041c684\ncall    CCTextInputNode__setString                                     ; +0x69, 0x14041c689\nmov     byte ptr [rbx+2CCh], 0                                         ; +0x6e, 0x14041c68e\nadd     rsp, 40h                                                       ; +0x75, 0x14041c695\npop     rbx                                                            ; +0x79, 0x14041c699\nretn                                                                   ; +0x7a, 0x14041c69a", "xrefs": ["SetupCountTriggerPopup::init @ 0x14041bb6f", "SetupCountTriggerPopup::onTargetIDArrow @ 0x14041c317", "SetupInstantCountPopup::init @ 0x140422f98", "SetupInstantCountPopup::onTargetID2Arrow @ 0x140423487", "<???> @ 0x1406d932c"], "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"}