; ; CCLightFlash::removeLights from 0x140047910 to 0x14004796f (95 bytes) ; ; 2 xrefs: ; > CCLightFlash::showFlash @ 0x14004785c ; > @ 0x14090faa0 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:25:31 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140047910 push rdi ; +0x5, 0x140047915 sub rsp, 20h ; +0x6, 0x140047916 mov rdi, rcx ; +0xa, 0x14004791a xor ebx, ebx ; +0xd, 0x14004791d mov rcx, [rcx+140h] ; +0xf, 0x14004791f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x16, 0x140047926 test eax, eax ; +0x1c, 0x14004792c jz short loc_140047964 ; +0x1e, 0x14004792e mov rcx, [rdi+140h] ; +0x20, 0x140047930 mov edx, ebx ; +0x27, 0x140047937 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x29, 0x140047939 mov dl, 1 ; +0x2f, 0x14004793f mov rcx, [rax] ; +0x31, 0x140047941 mov r8, [rcx+208h] ; +0x34, 0x140047944 mov rcx, rax ; +0x3b, 0x14004794b call r8 ; +0x3e, 0x14004794e mov rcx, [rdi+140h] ; +0x41, 0x140047951 inc ebx ; +0x48, 0x140047958 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4a, 0x14004795a cmp ebx, eax ; +0x50, 0x140047960 jb short loc_140047930 ; +0x52, 0x140047962 mov rbx, [rsp+28h+arg_0] ; +0x54, 0x140047964 add rsp, 20h ; +0x59, 0x140047969 pop rdi ; +0x5d, 0x14004796d retn ; +0x5e, 0x14004796e