; ; GameManager::applicationWillEnterForeground from 0x140189c50 to 0x140189fa4 (852 bytes) ; ; 3 xrefs: ; > AppDelegate::applicationWillBecomeActive @ 0x140082dd3 ; > AppDelegate::applicationWillEnterForeground @ 0x140082f95 ; > @ 0x1406cb6a0 ; ; 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, 0x140189c50 sub rsp, 30h ; +0x2, 0x140189c52 movaps [rsp+38h+var_18], xmm6 ; +0x6, 0x140189c56 mov rbx, rcx ; +0xb, 0x140189c5b movsd xmm6, qword ptr [rcx+2B0h] ; +0xe, 0x140189c5e call sub_14003CF30 ; +0x16, 0x140189c66 subsd xmm0, xmm6 ; +0x1b, 0x140189c6b xorps xmm2, xmm2 ; +0x1f, 0x140189c6f ucomisd xmm6, xmm2 ; +0x22, 0x140189c72 jp short loc_140189C7A ; +0x26, 0x140189c76 jz short loc_140189C92 ; +0x28, 0x140189c78 movsd xmm1, cs:qword_140622E90 ; +0x2a, 0x140189c7a comisd xmm1, xmm0 ; +0x32, 0x140189c82 jbe short loc_140189C92 ; +0x36, 0x140189c86 comisd xmm0, xmm2 ; +0x38, 0x140189c88 ja loc_140189F99 ; +0x3c, 0x140189c8c cmp byte ptr [rbx+2A5h], 0 ; +0x42, 0x140189c92 jz loc_140189D36 ; +0x49, 0x140189c99 mov rcx, cs:qword_1406C2ED8 ; +0x4f, 0x140189c9f test rcx, rcx ; +0x56, 0x140189ca6 jnz short loc_140189CDA ; +0x59, 0x140189ca9 mov ecx, 668h; Size ; +0x5b, 0x140189cab call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x60, 0x140189cb0 mov [rsp+38h+arg_0], rax ; +0x65, 0x140189cb5 mov rcx, rax ; +0x6a, 0x140189cba call sub_14017AB00 ; +0x6d, 0x140189cbd nop ; +0x72, 0x140189cc2 mov cs:qword_1406C2ED8, rax ; +0x73, 0x140189cc3 mov rdx, [rax] ; +0x7a, 0x140189cca mov rcx, rax ; +0x7d, 0x140189ccd call qword ptr [rdx+48h] ; +0x80, 0x140189cd0 mov rcx, cs:qword_1406C2ED8 ; +0x83, 0x140189cd3 mov r8b, 1 ; +0x8a, 0x140189cda lea rdx, word_14054444C ; +0x8d, 0x140189cdd call GameManager__setUGV ; +0x94, 0x140189ce4 mov rcx, cs:qword_1406C2ED8 ; +0x99, 0x140189ce9 test rcx, rcx ; +0xa0, 0x140189cf0 jnz short loc_140189D24 ; +0xa3, 0x140189cf3 mov ecx, 668h; Size ; +0xa5, 0x140189cf5 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xaa, 0x140189cfa mov [rsp+38h+arg_0], rax ; +0xaf, 0x140189cff mov rcx, rax ; +0xb4, 0x140189d04 call sub_14017AB00 ; +0xb7, 0x140189d07 nop ; +0xbc, 0x140189d0c mov cs:qword_1406C2ED8, rax ; +0xbd, 0x140189d0d mov rdx, [rax] ; +0xc4, 0x140189d14 mov rcx, rax ; +0xc7, 0x140189d17 call qword ptr [rdx+48h] ; +0xca, 0x140189d1a mov rcx, cs:qword_1406C2ED8 ; +0xcd, 0x140189d1d mov r8d, 64h ; 'd' ; +0xd4, 0x140189d24 lea rdx, aGeometryAchFac; "geometry.ach.facebook" ; +0xda, 0x140189d2a call GameManager__reportAchievementWithID ; +0xe1, 0x140189d31 cmp byte ptr [rbx+2A7h], 0 ; +0xe6, 0x140189d36 jz loc_140189DDA ; +0xed, 0x140189d3d mov rcx, cs:qword_1406C2ED8 ; +0xf3, 0x140189d43 test rcx, rcx ; +0xfa, 0x140189d4a jnz short loc_140189D7E ; +0xfd, 0x140189d4d mov ecx, 668h; Size ; +0xff, 0x140189d4f call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x104, 0x140189d54 mov [rsp+38h+arg_0], rax ; +0x109, 0x140189d59 mov rcx, rax ; +0x10e, 0x140189d5e call sub_14017AB00 ; +0x111, 0x140189d61 nop ; +0x116, 0x140189d66 mov cs:qword_1406C2ED8, rax ; +0x117, 0x140189d67 mov rdx, [rax] ; +0x11e, 0x140189d6e mov rcx, rax ; +0x121, 0x140189d71 call qword ptr [rdx+48h] ; +0x124, 0x140189d74 mov rcx, cs:qword_1406C2ED8 ; +0x127, 0x140189d77 mov r8b, 1 ; +0x12e, 0x140189d7e lea rdx, a22; "22" ; +0x131, 0x140189d81 call GameManager__setUGV ; +0x138, 0x140189d88 mov rcx, cs:qword_1406C2ED8 ; +0x13d, 0x140189d8d test rcx, rcx ; +0x144, 0x140189d94 jnz short loc_140189DC8 ; +0x147, 0x140189d97 mov ecx, 668h; Size ; +0x149, 0x140189d99 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x14e, 0x140189d9e mov [rsp+38h+arg_0], rax ; +0x153, 0x140189da3 mov rcx, rax ; +0x158, 0x140189da8 call sub_14017AB00 ; +0x15b, 0x140189dab nop ; +0x160, 0x140189db0 mov cs:qword_1406C2ED8, rax ; +0x161, 0x140189db1 mov rdx, [rax] ; +0x168, 0x140189db8 mov rcx, rax ; +0x16b, 0x140189dbb call qword ptr [rdx+48h] ; +0x16e, 0x140189dbe mov rcx, cs:qword_1406C2ED8 ; +0x171, 0x140189dc1 mov r8d, 64h ; 'd' ; +0x178, 0x140189dc8 lea rdx, aGeometryAchYou; "geometry.ach.youtube" ; +0x17e, 0x140189dce call GameManager__reportAchievementWithID ; +0x185, 0x140189dd5 cmp byte ptr [rbx+2A6h], 0 ; +0x18a, 0x140189dda jz loc_140189E7E ; +0x191, 0x140189de1 mov rcx, cs:qword_1406C2ED8 ; +0x197, 0x140189de7 test rcx, rcx ; +0x19e, 0x140189dee jnz short loc_140189E22 ; +0x1a1, 0x140189df1 mov ecx, 668h; Size ; +0x1a3, 0x140189df3 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1a8, 0x140189df8 mov [rsp+38h+arg_0], rax ; +0x1ad, 0x140189dfd mov rcx, rax ; +0x1b2, 0x140189e02 call sub_14017AB00 ; +0x1b5, 0x140189e05 nop ; +0x1ba, 0x140189e0a mov cs:qword_1406C2ED8, rax ; +0x1bb, 0x140189e0b mov rdx, [rax] ; +0x1c2, 0x140189e12 mov rcx, rax ; +0x1c5, 0x140189e15 call qword ptr [rdx+48h] ; +0x1c8, 0x140189e18 mov rcx, cs:qword_1406C2ED8 ; +0x1cb, 0x140189e1b mov r8b, 1 ; +0x1d2, 0x140189e22 lea rdx, a24; "24" ; +0x1d5, 0x140189e25 call GameManager__setUGV ; +0x1dc, 0x140189e2c mov rcx, cs:qword_1406C2ED8 ; +0x1e1, 0x140189e31 test rcx, rcx ; +0x1e8, 0x140189e38 jnz short loc_140189E6C ; +0x1eb, 0x140189e3b mov ecx, 668h; Size ; +0x1ed, 0x140189e3d call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1f2, 0x140189e42 mov [rsp+38h+arg_0], rax ; +0x1f7, 0x140189e47 mov rcx, rax ; +0x1fc, 0x140189e4c call sub_14017AB00 ; +0x1ff, 0x140189e4f nop ; +0x204, 0x140189e54 mov cs:qword_1406C2ED8, rax ; +0x205, 0x140189e55 mov rdx, [rax] ; +0x20c, 0x140189e5c mov rcx, rax ; +0x20f, 0x140189e5f call qword ptr [rdx+48h] ; +0x212, 0x140189e62 mov rcx, cs:qword_1406C2ED8 ; +0x215, 0x140189e65 mov r8d, 64h ; 'd' ; +0x21c, 0x140189e6c lea rdx, aGeometryAchTwi; "geometry.ach.twitter" ; +0x222, 0x140189e72 call GameManager__reportAchievementWithID ; +0x229, 0x140189e79 cmp byte ptr [rbx+2A8h], 0 ; +0x22e, 0x140189e7e jz short loc_140189ED1 ; +0x235, 0x140189e85 mov rcx, cs:qword_1406C2ED8 ; +0x237, 0x140189e87 test rcx, rcx ; +0x23e, 0x140189e8e jnz short loc_140189EC2 ; +0x241, 0x140189e91 mov ecx, 668h; Size ; +0x243, 0x140189e93 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x248, 0x140189e98 mov [rsp+38h+arg_0], rax ; +0x24d, 0x140189e9d mov rcx, rax ; +0x252, 0x140189ea2 call sub_14017AB00 ; +0x255, 0x140189ea5 nop ; +0x25a, 0x140189eaa mov cs:qword_1406C2ED8, rax ; +0x25b, 0x140189eab mov rdx, [rax] ; +0x262, 0x140189eb2 mov rcx, rax ; +0x265, 0x140189eb5 call qword ptr [rdx+48h] ; +0x268, 0x140189eb8 mov rcx, cs:qword_1406C2ED8 ; +0x26b, 0x140189ebb mov r8b, 1 ; +0x272, 0x140189ec2 lea rdx, a26; "26" ; +0x275, 0x140189ec5 call GameManager__setUGV ; +0x27c, 0x140189ecc cmp byte ptr [rbx+2A9h], 0 ; +0x281, 0x140189ed1 jz short loc_140189F24 ; +0x288, 0x140189ed8 mov rcx, cs:qword_1406C2ED8 ; +0x28a, 0x140189eda test rcx, rcx ; +0x291, 0x140189ee1 jnz short loc_140189F15 ; +0x294, 0x140189ee4 mov ecx, 668h; Size ; +0x296, 0x140189ee6 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x29b, 0x140189eeb mov [rsp+38h+arg_0], rax ; +0x2a0, 0x140189ef0 mov rcx, rax ; +0x2a5, 0x140189ef5 call sub_14017AB00 ; +0x2a8, 0x140189ef8 nop ; +0x2ad, 0x140189efd mov cs:qword_1406C2ED8, rax ; +0x2ae, 0x140189efe mov rdx, [rax] ; +0x2b5, 0x140189f05 mov rcx, rax ; +0x2b8, 0x140189f08 call qword ptr [rdx+48h] ; +0x2bb, 0x140189f0b mov rcx, cs:qword_1406C2ED8 ; +0x2be, 0x140189f0e mov r8b, 1 ; +0x2c5, 0x140189f15 lea rdx, a27; "27" ; +0x2c8, 0x140189f18 call GameManager__setUGV ; +0x2cf, 0x140189f1f cmp byte ptr [rbx+2AAh], 0 ; +0x2d4, 0x140189f24 jz short loc_140189F77 ; +0x2db, 0x140189f2b mov rcx, cs:qword_1406C2ED8 ; +0x2dd, 0x140189f2d test rcx, rcx ; +0x2e4, 0x140189f34 jnz short loc_140189F68 ; +0x2e7, 0x140189f37 mov ecx, 668h; Size ; +0x2e9, 0x140189f39 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x2ee, 0x140189f3e mov [rsp+38h+arg_0], rax ; +0x2f3, 0x140189f43 mov rcx, rax ; +0x2f8, 0x140189f48 call sub_14017AB00 ; +0x2fb, 0x140189f4b nop ; +0x300, 0x140189f50 mov cs:qword_1406C2ED8, rax ; +0x301, 0x140189f51 mov rdx, [rax] ; +0x308, 0x140189f58 mov rcx, rax ; +0x30b, 0x140189f5b call qword ptr [rdx+48h] ; +0x30e, 0x140189f5e mov rcx, cs:qword_1406C2ED8 ; +0x311, 0x140189f61 mov r8b, 1 ; +0x318, 0x140189f68 lea rdx, word_1405579D4 ; +0x31b, 0x140189f6b call GameManager__setUGV ; +0x322, 0x140189f72 mov rcx, [rbx+3A0h] ; +0x327, 0x140189f77 test rcx, rcx ; +0x32e, 0x140189f7e jz short loc_140189F88 ; +0x331, 0x140189f81 mov rax, [rcx] ; +0x333, 0x140189f83 call qword ptr [rax] ; +0x336, 0x140189f86 mov rcx, [rbx+3A8h] ; +0x338, 0x140189f88 test rcx, rcx ; +0x33f, 0x140189f8f jz short loc_140189F99 ; +0x342, 0x140189f92 mov rax, [rcx] ; +0x344, 0x140189f94 call qword ptr [rax] ; +0x347, 0x140189f97 movaps xmm6, [rsp+38h+var_18] ; +0x349, 0x140189f99 add rsp, 30h ; +0x34e, 0x140189f9e pop rbx ; +0x352, 0x140189fa2 retn ; +0x353, 0x140189fa3