; ; GameManager::updateCustomFPS from 0x14018ac40 to 0x14018acf0 (176 bytes) ; ; 4 xrefs: ; > LoadingLayer::loadAssets @ 0x14032f5cc ; > MoreVideoOptionsLayer::onToggle @ 0x14037af16 ; > MoreVideoOptionsLayer::onApplyFPS @ 0x14037b28f ; > @ 0x1406cb748 ; ; 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, 0x14018ac40 sub rsp, 20h ; +0x2, 0x14018ac42 mov rbx, rcx ; +0x6, 0x14018ac46 mov rcx, cs:qword_1406C2ED8 ; +0x9, 0x14018ac49 test rcx, rcx ; +0x10, 0x14018ac50 jnz short loc_14018AC84 ; +0x13, 0x14018ac53 mov ecx, 668h; Size ; +0x15, 0x14018ac55 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1a, 0x14018ac5a mov [rsp+28h+arg_8], rax ; +0x1f, 0x14018ac5f mov rcx, rax ; +0x24, 0x14018ac64 call sub_14017AB00 ; +0x27, 0x14018ac67 nop ; +0x2c, 0x14018ac6c mov cs:qword_1406C2ED8, rax ; +0x2d, 0x14018ac6d mov rdx, [rax] ; +0x34, 0x14018ac74 mov rcx, rax ; +0x37, 0x14018ac77 call qword ptr [rdx+48h] ; +0x3a, 0x14018ac7a mov rcx, cs:qword_1406C2ED8 ; +0x3d, 0x14018ac7d lea rdx, a0116; "0116" ; +0x44, 0x14018ac84 call GameManager__getGameVariable ; +0x4b, 0x14018ac8b test al, al ; +0x50, 0x14018ac90 jz short loc_14018ACEA ; +0x52, 0x14018ac92 movss xmm0, dword ptr [rbx+430h] ; +0x54, 0x14018ac94 comiss xmm0, cs:dword_140623210 ; +0x5c, 0x14018ac9c jbe short loc_14018ACCD ; +0x63, 0x14018aca3 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x65, 0x14018aca5 movss xmm0, cs:flt_140622C24 ; +0x6b, 0x14018acab divss xmm0, dword ptr [rbx+430h] ; +0x73, 0x14018acb3 cvtps2pd xmm1, xmm0 ; +0x7b, 0x14018acbb mov rdx, [rax] ; +0x7e, 0x14018acbe mov rcx, rax ; +0x81, 0x14018acc1 add rsp, 20h ; +0x84, 0x14018acc4 pop rbx ; +0x88, 0x14018acc8 jmp qword ptr [rdx+50h] ; +0x89, 0x14018acc9 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x8d, 0x14018accd movsd xmm1, cs:qword_140622C60 ; +0x93, 0x14018acd3 mov rdx, [rax] ; +0x9b, 0x14018acdb mov rcx, rax ; +0x9e, 0x14018acde add rsp, 20h ; +0xa1, 0x14018ace1 pop rbx ; +0xa5, 0x14018ace5 jmp qword ptr [rdx+50h] ; +0xa6, 0x14018ace6 add rsp, 20h ; +0xaa, 0x14018acea pop rbx ; +0xae, 0x14018acee retn ; +0xaf, 0x14018acef