; ; CCLightFlash::removeLights from 0x140043c90 to 0x140043cec (92 bytes) ; ; 2 xrefs: ; > CCLightFlash::showFlash @ 0x140043bda ; > @ 0x1406c4590 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x140043c90 push rdi ; +0x5, 0x140043c95 sub rsp, 20h ; +0x6, 0x140043c96 mov rdi, rcx ; +0xa, 0x140043c9a xor ebx, ebx ; +0xd, 0x140043c9d mov rcx, [rcx+140h] ; +0xf, 0x140043c9f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x16, 0x140043ca6 test eax, eax ; +0x1c, 0x140043cac jz short loc_140043CE1 ; +0x1e, 0x140043cae mov rcx, [rdi+140h] ; +0x20, 0x140043cb0 mov edx, ebx ; +0x27, 0x140043cb7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x29, 0x140043cb9 mov dl, 1 ; +0x2f, 0x140043cbf mov rcx, rax ; +0x31, 0x140043cc1 mov r8, [rax] ; +0x34, 0x140043cc4 call qword ptr [r8+1F8h] ; +0x37, 0x140043cc7 mov rcx, [rdi+140h] ; +0x3e, 0x140043cce inc ebx ; +0x45, 0x140043cd5 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x47, 0x140043cd7 cmp ebx, eax ; +0x4d, 0x140043cdd jb short loc_140043CB0 ; +0x4f, 0x140043cdf mov rbx, [rsp+28h+arg_0] ; +0x51, 0x140043ce1 add rsp, 20h ; +0x56, 0x140043ce6 pop rdi ; +0x5a, 0x140043cea retn ; +0x5b, 0x140043ceb