{"type": "func", "start": 4300227488, "end": 4300227577, "name": "CCLightFlash::removeLights", "pseudocode": "// \n// CCLightFlash::removeLights from 0x1005043a0 to 0x1005043f9 (89 bytes)\n// \n// 1 xrefs:\n// > CCLightFlash::showFlash @ 0x10050418c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall CCLightFlash::removeLights(CCLightFlash *a1)\n{\n  unsigned int v1; // r14d\n  __int64 v2; // rax\n\n  if ( (unsigned int)sub_100720070(a1->m_lightStripArray) )\n  {\n    v1 = 0;\n    do\n    {\n      v2 = sub_1007200C0(a1->m_lightStripArray, v1);\n      (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 512LL))(v2, 1);\n      ++v1;\n    }\n    while ( v1 < (unsigned int)sub_100720070(a1->m_lightStripArray) );\n  }\n}", "assembly": "; \n; CCLightFlash::removeLights from 0x1005043a0 to 0x1005043f9 (89 bytes)\n; \n; 1 xrefs:\n; > CCLightFlash::showFlash @ 0x10050418c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1005043a0\nmov     rbp, rsp                                                       ; +0x1, 0x1005043a1\npush    r14                                                            ; +0x4, 0x1005043a4\npush    rbx                                                            ; +0x6, 0x1005043a6\nmov     rbx, rdi                                                       ; +0x7, 0x1005043a7\nmov     rdi, [rdi+140h]                                                ; +0xa, 0x1005043aa\ncall    sub_100720070                                                  ; +0x11, 0x1005043b1\ntest    eax, eax                                                       ; +0x16, 0x1005043b6\njz      short loc_1005043F4                                            ; +0x18, 0x1005043b8\nxor     r14d, r14d                                                     ; +0x1a, 0x1005043ba\nnop     dword ptr [rax]                                                ; +0x1d, 0x1005043bd\nmov     rdi, [rbx+140h]                                                ; +0x20, 0x1005043c0\nmov     esi, r14d                                                      ; +0x27, 0x1005043c7\ncall    sub_1007200C0                                                  ; +0x2a, 0x1005043ca\nmov     rcx, [rax]                                                     ; +0x2f, 0x1005043cf\nmov     rdi, rax                                                       ; +0x32, 0x1005043d2\nmov     esi, 1                                                         ; +0x35, 0x1005043d5\ncall    qword ptr [rcx+200h]                                           ; +0x3a, 0x1005043da\ninc     r14d                                                           ; +0x40, 0x1005043e0\nmov     rdi, [rbx+140h]                                                ; +0x43, 0x1005043e3\ncall    sub_100720070                                                  ; +0x4a, 0x1005043ea\ncmp     r14d, eax                                                      ; +0x4f, 0x1005043ef\njb      short loc_1005043C0                                            ; +0x52, 0x1005043f2\npop     rbx                                                            ; +0x54, 0x1005043f4\npop     r14                                                            ; +0x55, 0x1005043f5\npop     rbp                                                            ; +0x57, 0x1005043f7\nretn                                                                   ; +0x58, 0x1005043f8", "xrefs": ["CCLightFlash::showFlash @ 0x10050418c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}