; ; GameManager::setUGV from 0x140183340 to 0x140183498 (344 bytes) ; ; 42 xrefs: ; > CreatorLayer::dialogClosed @ 0x14009f7c0 ; > GameManager::dataLoaded @ 0x140188531 ; > GameManager::dataLoaded @ 0x140188543 ; > GameManager::firstLoad @ 0x140188f6b ; > GameManager::applicationWillEnterForeground @ 0x140189ce4 ; > GameManager::applicationWillEnterForeground @ 0x140189d88 ; > GameManager::applicationWillEnterForeground @ 0x140189e2c ; > GameManager::applicationWillEnterForeground @ 0x140189ecc ; > GameManager::applicationWillEnterForeground @ 0x140189f1f ; > GameManager::applicationWillEnterForeground @ 0x140189f72 ; > TOSPopup::onClose @ 0x14029e66e ; > GJShopLayer::showReactMessage @ 0x1402ae574 ; > LevelAreaLayer::showDialog @ 0x1402c52dc ; > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x1402c7624 ; > LevelSelectLayer::init @ 0x1403184c7 ; > LevelPage::onTheTower @ 0x14031c23d ; > LevelPage::onSecretDoor @ 0x14031cd93 ; > LevelPage::dialogClosed @ 0x14031d807 ; > PlayLayer::destroyPlayer @ 0x1403b4408 ; > SecretRewardsLayer::dialogClosed @ 0x1403d6943 ; > SecretRewardsLayer::dialogClosed @ 0x1403d69a5 ; > SecretRewardsLayer::dialogClosed @ 0x1403d6a07 ; > SecretRewardsLayer::dialogClosed @ 0x1403d6a6a ; > SecretRewardsLayer::showDialog01 @ 0x1403d93f6 ; > SecretRewardsLayer::showDialog03 @ 0x1403da105 ; > SecretRewardsLayer::showDialogMechanic @ 0x1403db636 ; > SecretRewardsLayer::showDialogDiamond @ 0x1403dc4c6 ; > SecretLayer::getThreadMessage @ 0x1403e0731 ; > SecretLayer2::showSecretLevel @ 0x1403e37fc ; > SecretLayer2::dialogClosed @ 0x1403e4612 ; > SecretLayer2::getThreadMessage @ 0x1403e772c ; > SecretLayer3::onClick @ 0x1403ec4b6 ; > SecretLayer3::onClick @ 0x1403ec843 ; > SecretLayer3::onClick @ 0x1403ecbb3 ; > SecretLayer3::onClick @ 0x1403ed140 ; > SecretLayer3::onClick @ 0x1403ed18b ; > SecretLayer3::dialogClosed @ 0x1403ef388 ; > SecretLayer3::dialogClosed @ 0x1403ef5cd ; > SecretLayer4::showFirstDialog @ 0x1403f28be ; > SecretLayer5::showFirstDialog @ 0x1403f78be ; > @ 0x1406cb58c ; > @ 0x1406cb598 ; ; 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 ; push rbx ; +0x0, 0x140183340 push rsi ; +0x2, 0x140183342 push rdi ; +0x3, 0x140183343 sub rsp, 70h ; +0x4, 0x140183344 mov rax, cs:__security_cookie ; +0x8, 0x140183348 xor rax, rsp ; +0xf, 0x14018334f mov [rsp+88h+var_28], rax ; +0x12, 0x140183352 movzx esi, r8b ; +0x17, 0x140183357 mov rdi, rcx ; +0x1b, 0x14018335b xorps xmm0, xmm0 ; +0x1e, 0x14018335e movups xmmword ptr [rsp+88h+Src], xmm0 ; +0x21, 0x140183361 mov [rsp+88h+var_58], 4 ; +0x26, 0x140183366 mov [rsp+88h+var_50], 0Fh ; +0x2f, 0x14018336f mov dword ptr [rsp+88h+Src], 5F766775h ; +0x38, 0x140183378 mov byte ptr [rsp+88h+Src+4], 0 ; +0x40, 0x140183380 mov rbx, 0FFFFFFFFFFFFFFFFh ; +0x45, 0x140183385 mov r8, rbx ; +0x4c, 0x14018338c nop ; +0x4f, 0x14018338f inc r8; Size ; +0x50, 0x140183390 cmp byte ptr [rdx+r8], 0 ; +0x53, 0x140183393 jnz short loc_140183390 ; +0x58, 0x140183398 lea rcx, [rsp+88h+Src]; Src ; +0x5a, 0x14018339a call sub_140041270 ; +0x5f, 0x14018339f lea rdx, [rsp+88h+Src] ; +0x64, 0x1401833a4 cmp [rsp+88h+var_50], 0Fh ; +0x69, 0x1401833a9 cmova rdx, [rsp+88h+Src] ; +0x6f, 0x1401833af xorps xmm0, xmm0 ; +0x75, 0x1401833b5 movups xmmword ptr [rsp+88h+Block], xmm0 ; +0x78, 0x1401833b8 xorps xmm1, xmm1 ; +0x7d, 0x1401833bd movdqu [rsp+88h+var_38], xmm1 ; +0x80, 0x1401833c0 inc rbx ; +0x86, 0x1401833c6 cmp byte ptr [rdx+rbx], 0 ; +0x89, 0x1401833c9 jnz short loc_1401833C6 ; +0x8d, 0x1401833cd mov r8, rbx ; +0x8f, 0x1401833cf lea rcx, [rsp+88h+Block] ; +0x92, 0x1401833d2 call sub_14003A930 ; +0x97, 0x1401833d7 nop ; +0x9c, 0x1401833dc mov edx, esi ; +0x9d, 0x1401833dd lea rcx, aI_11; "%i" ; +0x9f, 0x1401833df call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xa6, 0x1401833e6 mov rdx, rax ; +0xac, 0x1401833ec lea r8, [rsp+88h+Block] ; +0xaf, 0x1401833ef mov rcx, [rdi+1A0h] ; +0xb4, 0x1401833f4 call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0xbb, 0x1401833fb nop ; +0xc1, 0x140183401 mov rdx, qword ptr [rsp+88h+var_38+8] ; +0xc2, 0x140183402 cmp rdx, 0Fh ; +0xc7, 0x140183407 jbe short loc_140183443 ; +0xcb, 0x14018340b inc rdx ; +0xcd, 0x14018340d mov rcx, [rsp+88h+Block]; Block ; +0xd0, 0x140183410 mov rax, rcx ; +0xd5, 0x140183415 cmp rdx, 1000h ; +0xd8, 0x140183418 jb short loc_14018343D ; +0xdf, 0x14018341f add rdx, 27h ; ''' ; +0xe1, 0x140183421 mov rcx, [rcx-8] ; +0xe5, 0x140183425 sub rax, rcx ; +0xe9, 0x140183429 add rax, 0FFFFFFFFFFFFFFF8h ; +0xec, 0x14018342c cmp rax, 1Fh ; +0xf0, 0x140183430 jbe short loc_14018343D ; +0xf4, 0x140183434 call cs:_invalid_parameter_noinfo_noreturn ; +0xf6, 0x140183436 db 0CCh ; +0xfc, 0x14018343c call j_j_free ; +0xfd, 0x14018343d nop ; +0x102, 0x140183442 mov rdx, [rsp+88h+var_50] ; +0x103, 0x140183443 cmp rdx, 0Fh ; +0x108, 0x140183448 jbe short loc_140183483 ; +0x10c, 0x14018344c inc rdx ; +0x10e, 0x14018344e mov rcx, [rsp+88h+Src]; Block ; +0x111, 0x140183451 mov rax, rcx ; +0x116, 0x140183456 cmp rdx, 1000h ; +0x119, 0x140183459 jb short loc_14018347E ; +0x120, 0x140183460 add rdx, 27h ; ''' ; +0x122, 0x140183462 mov rcx, [rcx-8] ; +0x126, 0x140183466 sub rax, rcx ; +0x12a, 0x14018346a add rax, 0FFFFFFFFFFFFFFF8h ; +0x12d, 0x14018346d cmp rax, 1Fh ; +0x131, 0x140183471 jbe short loc_14018347E ; +0x135, 0x140183475 call cs:_invalid_parameter_noinfo_noreturn ; +0x137, 0x140183477 align 2 ; +0x13d, 0x14018347d call j_j_free ; +0x13e, 0x14018347e mov rcx, [rsp+88h+var_28] ; +0x143, 0x140183483 xor rcx, rsp; StackCookie ; +0x148, 0x140183488 call __security_check_cookie ; +0x14b, 0x14018348b add rsp, 70h ; +0x150, 0x140183490 pop rdi ; +0x154, 0x140183494 pop rsi ; +0x155, 0x140183495 pop rbx ; +0x156, 0x140183496 retn ; +0x157, 0x140183497