; ; cocos2d::CCDirector::showFPSLabel from 0x1800bfd90 to 0x1800bfe4c (188 bytes) ; ; 3 xrefs: ; > cocos2d::CCDirector::drawScene @ 0x1800be472 ; > @ 0x1801438a8 ; > @ 0x1801b93e4 ; ; 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, 0x1800bfd90 sub rsp, 20h ; +0x2, 0x1800bfd92 cmp qword ptr [rcx+170h], 0 ; +0x6, 0x1800bfd96 mov rbx, rcx ; +0xe, 0x1800bfd9e jz loc_1800BFE46 ; +0x11, 0x1800bfda1 mov eax, [rcx+100h] ; +0x17, 0x1800bfda7 movss xmm1, dword ptr [rcx+0A0h] ; +0x1d, 0x1800bfdad inc eax ; +0x25, 0x1800bfdb5 addss xmm1, dword ptr [rcx+0D4h] ; +0x27, 0x1800bfdb7 mov [rcx+100h], eax ; +0x2f, 0x1800bfdbf comiss xmm1, cs:flt_1800E8D34 ; +0x35, 0x1800bfdc5 movss dword ptr [rcx+0D4h], xmm1 ; +0x3c, 0x1800bfdcc jbe short loc_1800BFE30 ; +0x44, 0x1800bfdd4 xorps xmm0, xmm0 ; +0x46, 0x1800bfdd6 cvtsi2ss xmm0, rax ; +0x49, 0x1800bfdd9 xor eax, eax ; +0x4e, 0x1800bfdde mov [rcx+100h], eax ; +0x50, 0x1800bfde0 mov [rcx+0D4h], eax ; +0x56, 0x1800bfde6 divss xmm0, xmm1; X ; +0x5c, 0x1800bfdec movss dword ptr [rcx+0DCh], xmm0 ; +0x60, 0x1800bfdf0 call cs:__imp_roundf ; +0x68, 0x1800bfdf8 mov rcx, [rbx+148h]; Buffer ; +0x6e, 0x1800bfdfe lea rdx, aFpsI; "FPS: %i" ; +0x75, 0x1800bfe05 cvttss2si r8d, xmm0 ; +0x7c, 0x1800bfe0c call sub_180009530 ; +0x81, 0x1800bfe11 mov rcx, [rbx+170h] ; +0x86, 0x1800bfe16 mov rdx, [rbx+148h] ; +0x8d, 0x1800bfe1d add rcx, 168h ; +0x94, 0x1800bfe24 mov rax, [rcx] ; +0x9b, 0x1800bfe2b call qword ptr [rax] ; +0x9e, 0x1800bfe2e mov rcx, [rbx+170h] ; +0xa0, 0x1800bfe30 mov rax, [rcx] ; +0xa7, 0x1800bfe37 add rsp, 20h ; +0xaa, 0x1800bfe3a pop rbx ; +0xae, 0x1800bfe3e jmp qword ptr [rax+2D8h] ; +0xaf, 0x1800bfe3f add rsp, 20h ; +0xb6, 0x1800bfe46 pop rbx ; +0xba, 0x1800bfe4a retn ; +0xbb, 0x1800bfe4b