// // CCTextInputNode::updateLabel from 0x2fa8c4 to 0x2faa1a (342 bytes) // // 32 xrefs: // > CCTextInputNode::addTextArea @ 0x2faa9a // > CCTextInputNode::setString @ 0x2fab10 // > CCTextInputNode::textChanged @ 0x2fab72 // > CCTextInputNode::onTextFieldDetachWithIME @ 0x2fad9a // > LevelSearchLayer::textInputOpened @ 0x3ac7e4 // > LevelSearchLayer::updateSearchLabel @ 0x3ac8e6 // > EditLevelLayer::textInputOpened @ 0x3b6232 // > EditLevelLayer::textInputClosed @ 0x3b7a72 // > ColorSelectPopup::updateTextInputLabel @ 0x3da550 // > ColorSelectPopup::colorSelectClosed @ 0x3da77c // > ColorSelectPopup::colorSelectClosed @ 0x3da7e6 // > ColorSelectPopup::updateCopyColorTextInputLabel @ 0x3da8a8 // > GJGarageLayer::textInputOpened @ 0x402828 // > CustomizeObjectLayer::textInputOpened @ 0x461280 // > SetColorIDPopup::colorSelectClosed @ 0x4a8976 // > SetColorIDPopup::init @ 0x4b00b6 // > SetupPulsePopup::colorSelectClosed @ 0x4bdc58 // > SetupPulsePopup::colorSelectClosed @ 0x4bdcbc // > SetupPulsePopup::updateTextInputLabel @ 0x4be1e4 // > SetupPulsePopup::updateCopyColorTextInputLabel @ 0x4be438 // > SecretLayer::textInputOpened @ 0x4c94d4 // > SecretLayer::updateSearchLabel @ 0x4c96ee // > SecretLayer2::textInputOpened @ 0x4eb1e8 // > SecretLayer2::updateSearchLabel @ 0x4ec21e // > SecretLayer4::textInputOpened @ 0x4f01f8 // > SecretLayer4::updateSearchLabel @ 0x4f082a // > SetupSmartTemplateLayer::textInputOpened @ 0x53d730 // > LevelListLayer::textInputClosed @ 0x58f42c // > LevelListLayer::textInputOpened @ 0x58fbc6 // > SecretLayer5::textInputOpened @ 0x59c540 // > SecretLayer5::updateSearchLabel @ 0x59db66 // > SecretLayer5::onSubmit @ 0x59eb48 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall CCTextInputNode::updateLabel(int a1, char **a2) { int v4; // r2 int v5; // r10 unsigned int i; // r9 int v7; // r0 int v8; // r9 char *v9; // r0 int v10; // r8 _BYTE v11[4]; // [sp+Ch] [bp-Ch] BYREF int v12; // [sp+10h] [bp-8h] BYREF v4 = *(_DWORD *)(a1 + 392); if ( v4 ) { *(_DWORD *)(v4 + 360) = *(_DWORD *)(a1 + 412); } else if ( !*(_DWORD *)(a1 + 400) ) { return; } sub_776584((int)&v12, (char *)&unk_939830); v5 = sub_774DBC(a2, &v12); sub_774008(&v12); if ( v5 ) { if ( *(_BYTE *)(a1 + 397) ) { sub_776584((int)&v12, (char *)&unk_939830); for ( i = 0; i < *((_DWORD *)*a2 - 3); ++i ) sub_774544((int)&v12, (char *)&off_949500); sub_775D40(a2, &v12); sub_774008(&v12); } } else { sub_7753D4((int)a2, *(char **)(a1 + 328)); } v7 = *(_DWORD *)(a1 + 392); if ( v7 ) { (*(void (__fastcall **)(int, char *))(*(_DWORD *)v7 + 456))(v7, *a2); } else { v8 = *(_DWORD *)(a1 + 400); if ( v8 ) { sub_776584((int)&v12, *a2); TextArea::setString(v8, &v12); sub_774008(&v12); } } CCTextInputNode::refreshLabel((CCTextInputNode *)a1); v9 = (char *)(*(int (__fastcall **)(_DWORD))(**(_DWORD **)(a1 + 380) + 616))(*(_DWORD *)(a1 + 380)); sub_776584((int)v11, v9); sub_776584((int)&v12, (char *)&unk_939830); v10 = sub_774DBC(v11, &v12); sub_774008(&v12); sub_774008(v11); if ( !v10 ) *(_DWORD *)(*(_DWORD *)(a1 + 380) + 600) = -1; CCTextInputNode::updateBlinkLabel((CCTextInputNode *)a1); }