; ; ButtonSprite::setString from 0x10005a280 to 0x10005a681 (1025 bytes) ; ; 32 xrefs: ; > EditorUI::setIDPopupClosed @ 0x1000102db ; > EditorUI::setIDPopupClosed @ 0x10001037b ; > EditorUI::onResetSpecialFilter @ 0x1000107a1 ; > EditorUI::onResetSpecialFilter @ 0x1000107ca ; > ButtonSprite::init_1 @ 0x10005a262 ; > ButtonSprite::updateBGImage @ 0x10005a78e ; > CustomizeObjectLayer::init @ 0x1001d82ee ; > CustomizeObjectLayer::init @ 0x1001d8517 ; > CustomizeObjectLayer::updateCustomColorLabels @ 0x1001da0dd ; > CustomizeObjectLayer::textChanged @ 0x1001db915 ; > OptionsScrollLayer::onMatchToggle @ 0x1006ebd02 ; > IDNameBrowserPopup::init @ 0x100909d2c ; > sub_10090A970 @ 0x10090a9d8 ; > sub_10090AA30 @ 0x10090aa71 ; > sub_10092FFD0 @ 0x1009302c7 ; > sub_10093EE20 @ 0x10093ee5b ; > sub_10093EE20 @ 0x10093ef38 ; > sub_10093F1B0 @ 0x10093f328 ; > sub_10093F3A0 @ 0x10093f400 ; > sub_10093F530 @ 0x10093f734 ; > LevelPickerPopup::textChanged @ 0x1009402d7 ; > sub_10094C250 @ 0x10094c292 ; > sub_1009692B0 @ 0x1009692e4 ; > sub_100995DF0 @ 0x100995e24 ; > sub_100998310 @ 0x10099a418 ; > sub_100998310 @ 0x10099a44d ; > sub_100998310 @ 0x10099a482 ; > sub_100998310 @ 0x10099a4c4 ; > sub_10099ADD0 @ 0x10099ae2f ; > sub_10099ADD0 @ 0x10099ae42 ; > sub_10099ADD0 @ 0x10099ae55 ; > sub_10099ADD0 @ 0x10099ae68 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:19:39 +0000 ; cmp dword ptr [rdi+254h], 1 ; +0x0, 0x10005a280 jnz locret_10005A680 ; +0x7, 0x10005a287 push rbp ; +0xd, 0x10005a28d mov rbp, rsp ; +0xe, 0x10005a28e push r15 ; +0x11, 0x10005a291 push r14 ; +0x13, 0x10005a293 push rbx ; +0x15, 0x10005a295 sub rsp, 18h ; +0x16, 0x10005a296 mov rbx, rdi ; +0x1a, 0x10005a29a mov rdi, [rdi+270h] ; +0x1d, 0x10005a29d mov rax, [rdi] ; +0x24, 0x10005a2a4 movss xmm0, cs:alpha ; +0x27, 0x10005a2a7 mov r14, rsi ; +0x2f, 0x10005a2af call qword ptr [rax+0A0h] ; +0x32, 0x10005a2b2 mov rdi, [rbx+270h] ; +0x38, 0x10005a2b8 mov rax, [rdi] ; +0x3f, 0x10005a2bf mov rsi, r14 ; +0x42, 0x10005a2c2 call qword ptr [rax+3A0h] ; +0x45, 0x10005a2c5 lea rdi, [rbx+2A0h]; this ; +0x4b, 0x10005a2cb mov rsi, r14; __s ; +0x52, 0x10005a2d2 call __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x55, 0x10005a2d5 movss xmm0, dword ptr [rbx+258h] ; +0x5a, 0x10005a2da xorps xmm1, xmm1 ; +0x62, 0x10005a2e2 ucomiss xmm0, xmm1 ; +0x65, 0x10005a2e5 jbe short loc_10005A338 ; +0x68, 0x10005a2e8 mov rdi, [rbx+270h] ; +0x6a, 0x10005a2ea mov rax, [rdi] ; +0x71, 0x10005a2f1 call qword ptr [rax+148h] ; +0x74, 0x10005a2f4 movss xmm0, dword ptr [rax] ; +0x7a, 0x10005a2fa movss xmm1, dword ptr [rbx+258h] ; +0x7e, 0x10005a2fe ucomiss xmm0, xmm1 ; +0x86, 0x10005a306 jbe short loc_10005A338 ; +0x89, 0x10005a309 mov r14, [rbx+270h] ; +0x8b, 0x10005a30b mov rax, [r14] ; +0x92, 0x10005a312 mov rdi, r14 ; +0x95, 0x10005a315 movss dword ptr [rbp-1Ch], xmm1 ; +0x98, 0x10005a318 call qword ptr [rax+148h] ; +0x9d, 0x10005a31d movss xmm0, dword ptr [rbp-1Ch] ; +0xa3, 0x10005a323 divss xmm0, dword ptr [rax] ; +0xa8, 0x10005a328 mov rax, [r14] ; +0xac, 0x10005a32c mov rdi, r14 ; +0xaf, 0x10005a32f call qword ptr [rax+0A0h] ; +0xb2, 0x10005a332 mov r14, [rbx+270h] ; +0xb8, 0x10005a338 mov rax, [r14] ; +0xbf, 0x10005a33f mov rdi, r14 ; +0xc2, 0x10005a342 call qword ptr [rax+0A8h] ; +0xc5, 0x10005a345 movaps xmm1, xmm0 ; +0xcb, 0x10005a34b movss xmm0, dword ptr [rbx+260h] ; +0xce, 0x10005a34e ucomiss xmm1, xmm0 ; +0xd6, 0x10005a356 ja short loc_10005A36B ; +0xd9, 0x10005a359 mov rdi, [rbx+270h] ; +0xdb, 0x10005a35b mov rax, [rdi] ; +0xe2, 0x10005a362 call qword ptr [rax+0A8h] ; +0xe5, 0x10005a365 mov rax, [r14] ; +0xeb, 0x10005a36b mov rdi, r14 ; +0xee, 0x10005a36e call qword ptr [rax+0A0h] ; +0xf1, 0x10005a371 cmp byte ptr [rbx+26Ch], 1 ; +0xf7, 0x10005a377 jnz short loc_10005A38A ; +0xfe, 0x10005a37e movss xmm0, dword ptr [rbx+258h] ; +0x100, 0x10005a380 jmp short loc_10005A403 ; +0x108, 0x10005a388 movss xmm0, dword ptr [rbx+25Ch] ; +0x10a, 0x10005a38a movss dword ptr [rbp-1Ch], xmm0 ; +0x112, 0x10005a392 mov rdi, [rbx+270h] ; +0x117, 0x10005a397 mov rax, [rdi] ; +0x11e, 0x10005a39e call qword ptr [rax+148h] ; +0x121, 0x10005a3a1 movss xmm0, dword ptr [rax] ; +0x127, 0x10005a3a7 movss dword ptr [rbp-28h], xmm0 ; +0x12b, 0x10005a3ab mov rdi, [rbx+270h] ; +0x130, 0x10005a3b0 mov rax, [rdi] ; +0x137, 0x10005a3b7 call qword ptr [rax+0A8h] ; +0x13a, 0x10005a3ba mulss xmm0, dword ptr [rbp-28h] ; +0x140, 0x10005a3c0 ucomiss xmm0, dword ptr [rbp-1Ch] ; +0x145, 0x10005a3c5 jbe short loc_10005A3FB ; +0x149, 0x10005a3c9 mov rdi, [rbx+270h] ; +0x14b, 0x10005a3cb mov rax, [rdi] ; +0x152, 0x10005a3d2 call qword ptr [rax+148h] ; +0x155, 0x10005a3d5 movss xmm0, dword ptr [rax] ; +0x15b, 0x10005a3db movss dword ptr [rbp-1Ch], xmm0 ; +0x15f, 0x10005a3df mov rdi, [rbx+270h] ; +0x164, 0x10005a3e4 mov rax, [rdi] ; +0x16b, 0x10005a3eb call qword ptr [rax+0A8h] ; +0x16e, 0x10005a3ee mulss xmm0, dword ptr [rbp-1Ch] ; +0x174, 0x10005a3f4 jmp short loc_10005A403 ; +0x179, 0x10005a3f9 movss xmm0, dword ptr [rbx+25Ch] ; +0x17b, 0x10005a3fb movss dword ptr [rbp-1Ch], xmm0 ; +0x183, 0x10005a403 mov rdi, [rbx+270h] ; +0x188, 0x10005a408 mov rax, [rdi] ; +0x18f, 0x10005a40f call qword ptr [rax+148h] ; +0x192, 0x10005a412 movss xmm0, dword ptr [rax+4] ; +0x198, 0x10005a418 addss xmm0, cs:dword_100A03D68 ; +0x19d, 0x10005a41d movss xmm2, dword ptr [rbx+264h] ; +0x1a5, 0x10005a425 xorps xmm1, xmm1 ; +0x1ad, 0x10005a42d cmpneqss xmm1, xmm2 ; +0x1b0, 0x10005a430 movaps xmm3, xmm1 ; +0x1b5, 0x10005a435 andnps xmm3, xmm0 ; +0x1b8, 0x10005a438 andps xmm1, xmm2 ; +0x1bb, 0x10005a43b orps xmm1, xmm3 ; +0x1be, 0x10005a43e mov r14, [rbx+288h] ; +0x1c1, 0x10005a441 movss xmm0, dword ptr [rbp-1Ch] ; +0x1c8, 0x10005a448 addss xmm0, cs:dword_100A03D60 ; +0x1cd, 0x10005a44d lea r15, [rbp-24h] ; +0x1d5, 0x10005a455 mov rdi, r15 ; +0x1d9, 0x10005a459 call sub_100278260 ; +0x1dc, 0x10005a45c mov rax, [r14] ; +0x1e1, 0x10005a461 mov rdi, r14 ; +0x1e4, 0x10005a464 mov rsi, r15 ; +0x1e7, 0x10005a467 call qword ptr [rax+140h] ; +0x1ea, 0x10005a46a mov rdi, [rbx+288h] ; +0x1f0, 0x10005a470 mov rax, [rdi] ; +0x1f7, 0x10005a477 call qword ptr [rax+148h] ; +0x1fa, 0x10005a47a movss xmm0, dword ptr [rax] ; +0x200, 0x10005a480 movss dword ptr [rbp-1Ch], xmm0 ; +0x204, 0x10005a484 mov rdi, [rbx+288h] ; +0x209, 0x10005a489 mov rax, [rdi] ; +0x210, 0x10005a490 call qword ptr [rax+148h] ; +0x213, 0x10005a493 movss xmm1, dword ptr [rax+4] ; +0x219, 0x10005a499 lea r14, [rbp-24h] ; +0x21e, 0x10005a49e mov rdi, r14 ; +0x222, 0x10005a4a2 movss xmm0, dword ptr [rbp-1Ch] ; +0x225, 0x10005a4a5 call sub_100278260 ; +0x22a, 0x10005a4aa mov rax, [rbx] ; +0x22f, 0x10005a4af mov rdi, rbx ; +0x232, 0x10005a4b2 mov rsi, r14 ; +0x235, 0x10005a4b5 call qword ptr [rax+140h] ; +0x238, 0x10005a4b8 mov r14, [rbx+270h] ; +0x23e, 0x10005a4be mov rax, [rbx] ; +0x245, 0x10005a4c5 mov rdi, rbx ; +0x248, 0x10005a4c8 call qword ptr [rax+148h] ; +0x24b, 0x10005a4cb movss xmm0, dword ptr [rax] ; +0x251, 0x10005a4d1 mulss xmm0, cs:dword_100A03578 ; +0x255, 0x10005a4d5 addss xmm0, dword ptr [rbx+290h] ; +0x25d, 0x10005a4dd movss dword ptr [rbp-1Ch], xmm0 ; +0x265, 0x10005a4e5 mov rax, [rbx] ; +0x26a, 0x10005a4ea mov rdi, rbx ; +0x26d, 0x10005a4ed call qword ptr [rax+148h] ; +0x270, 0x10005a4f0 movss xmm1, dword ptr [rax+4] ; +0x276, 0x10005a4f6 mulss xmm1, cs:dword_100A03578 ; +0x27b, 0x10005a4fb addss xmm1, dword ptr [rbx+294h] ; +0x283, 0x10005a503 mov rdi, r15 ; +0x28b, 0x10005a50b movss xmm0, dword ptr [rbp-1Ch] ; +0x28e, 0x10005a50e call sub_100278250 ; +0x293, 0x10005a513 mov rax, [r14] ; +0x298, 0x10005a518 mov rdi, r14 ; +0x29b, 0x10005a51b mov rsi, r15 ; +0x29e, 0x10005a51e call qword ptr [rax+0B8h] ; +0x2a1, 0x10005a521 mov r14, [rbx+288h] ; +0x2a7, 0x10005a527 mov rax, [rbx] ; +0x2ae, 0x10005a52e mov rdi, rbx ; +0x2b1, 0x10005a531 call qword ptr [rax+148h] ; +0x2b4, 0x10005a534 movss xmm0, dword ptr [rax] ; +0x2ba, 0x10005a53a mulss xmm0, cs:dword_100A03578 ; +0x2be, 0x10005a53e movss dword ptr [rbp-1Ch], xmm0 ; +0x2c6, 0x10005a546 mov rax, [rbx] ; +0x2cb, 0x10005a54b mov rdi, rbx ; +0x2ce, 0x10005a54e call qword ptr [rax+148h] ; +0x2d1, 0x10005a551 movss xmm1, dword ptr [rax+4] ; +0x2d7, 0x10005a557 mulss xmm1, cs:dword_100A03578 ; +0x2dc, 0x10005a55c mov rdi, r15 ; +0x2e4, 0x10005a564 movss xmm0, dword ptr [rbp-1Ch] ; +0x2e7, 0x10005a567 call sub_100278250 ; +0x2ec, 0x10005a56c mov rax, [r14] ; +0x2f1, 0x10005a571 mov rdi, r14 ; +0x2f4, 0x10005a574 mov rsi, r15 ; +0x2f7, 0x10005a577 call qword ptr [rax+0B8h] ; +0x2fa, 0x10005a57a mov rax, [rbx] ; +0x300, 0x10005a580 mov rdi, rbx ; +0x303, 0x10005a583 call qword ptr [rax+200h] ; +0x306, 0x10005a586 test rax, rax ; +0x30c, 0x10005a58c jz loc_10005A64F ; +0x30f, 0x10005a58f mov rax, [rbx] ; +0x315, 0x10005a595 mov rdi, rbx ; +0x318, 0x10005a598 call qword ptr [rax+200h] ; +0x31b, 0x10005a59b test rax, rax ; +0x321, 0x10005a5a1 jz loc_10005A64F ; +0x324, 0x10005a5a4 lea rsi, _ZTIN7cocos2d6CCNodeE; lpstype ; +0x32a, 0x10005a5aa lea rdx, _ZTI21CCMenuItemSpriteExtra; lpdtype ; +0x331, 0x10005a5b1 mov rdi, rax; lpsrc ; +0x338, 0x10005a5b8 xor ecx, ecx; s2d ; +0x33b, 0x10005a5bb call ___dynamic_cast ; +0x33d, 0x10005a5bd test rax, rax ; +0x342, 0x10005a5c2 jz loc_10005A64F ; +0x345, 0x10005a5c5 mov rax, [rbx] ; +0x34b, 0x10005a5cb mov rdi, rbx ; +0x34e, 0x10005a5ce call qword ptr [rax+200h] ; +0x351, 0x10005a5d1 mov r14, rax ; +0x357, 0x10005a5d7 mov rax, [rbx] ; +0x35a, 0x10005a5da mov rdi, rbx ; +0x35d, 0x10005a5dd call qword ptr [rax+148h] ; +0x360, 0x10005a5e0 mov rcx, [r14] ; +0x366, 0x10005a5e6 mov rdi, r14 ; +0x369, 0x10005a5e9 mov rsi, rax ; +0x36c, 0x10005a5ec call qword ptr [rcx+140h] ; +0x36f, 0x10005a5ef mov rax, [rbx] ; +0x375, 0x10005a5f5 mov rdi, rbx ; +0x378, 0x10005a5f8 call qword ptr [rax+148h] ; +0x37b, 0x10005a5fb movss xmm1, dword ptr [rax] ; +0x381, 0x10005a601 movss xmm0, cs:dword_100A03578 ; +0x385, 0x10005a605 mulss xmm1, xmm0 ; +0x38d, 0x10005a60d movss dword ptr [rbp-1Ch], xmm1 ; +0x391, 0x10005a611 mov rax, [rbx] ; +0x396, 0x10005a616 mov rdi, rbx ; +0x399, 0x10005a619 call qword ptr [rax+148h] ; +0x39c, 0x10005a61c movss xmm1, cs:dword_100A03578 ; +0x3a2, 0x10005a622 mulss xmm1, dword ptr [rax+4] ; +0x3aa, 0x10005a62a lea r14, [rbp-24h] ; +0x3af, 0x10005a62f mov rdi, r14 ; +0x3b3, 0x10005a633 movss xmm0, dword ptr [rbp-1Ch] ; +0x3b6, 0x10005a636 call sub_100278250 ; +0x3bb, 0x10005a63b mov rax, [rbx] ; +0x3c0, 0x10005a640 mov rdi, rbx ; +0x3c3, 0x10005a643 mov rsi, r14 ; +0x3c6, 0x10005a646 call qword ptr [rax+0B8h] ; +0x3c9, 0x10005a649 mov r14, [rbx+270h] ; +0x3cf, 0x10005a64f mov rax, [r14] ; +0x3d6, 0x10005a656 mov rdi, r14 ; +0x3d9, 0x10005a659 call qword ptr [rax+0A8h] ; +0x3dc, 0x10005a65c mulss xmm0, dword ptr [rbx+268h] ; +0x3e2, 0x10005a662 mov rax, [r14] ; +0x3ea, 0x10005a66a mov rdi, r14 ; +0x3ed, 0x10005a66d call qword ptr [rax+0A0h] ; +0x3f0, 0x10005a670 add rsp, 18h ; +0x3f6, 0x10005a676 pop rbx ; +0x3fa, 0x10005a67a pop r14 ; +0x3fb, 0x10005a67b pop r15 ; +0x3fd, 0x10005a67d pop rbp ; +0x3ff, 0x10005a67f retn ; +0x400, 0x10005a680