{"type": "func", "start": 4296290000, "end": 4296290149, "name": "GJBaseGameLayer::playFlashEffect", "pseudocode": "// \n// GJBaseGameLayer::playFlashEffect from 0x100142ed0 to 0x100142f65 (149 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:24:56 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::playFlashEffect(__int64 a1, int a2, float a3, float a4)\n{\n  int v4; // r14d\n  int v5; // eax\n  int v6; // ecx\n  int v7; // r8d\n  int v8; // r9d\n  __int64 v9; // r14\n\n  *(float *)(a1 + 12560) = a4;\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 12552) + 344LL))(*(_QWORD *)(a1 + 12552), 1);\n  v4 = cocos2d::CCHide::create();\n  if ( a2 < 2 )\n    v5 = cocos2d::CCDelayTime::create(a3);\n  else\n    v5 = cocos2d::CCBlink::create((unsigned int)(a2 - 1), a3);\n  v9 = sub_10039EB60(v5, v4, 0, v6, v7, v8);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 72LL))(v9, 15);\n  return cocos2d::CCNode::runAction(*(_QWORD *)(a1 + 12552), v9);\n}", "assembly": "; \n; GJBaseGameLayer::playFlashEffect from 0x100142ed0 to 0x100142f65 (149 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:24:56 +0000\n; \npush    rbp                                                            ; +0x0, 0x100142ed0\nmov     rbp, rsp                                                       ; +0x1, 0x100142ed1\npush    r15                                                            ; +0x4, 0x100142ed4\npush    r14                                                            ; +0x6, 0x100142ed6\npush    rbx                                                            ; +0x8, 0x100142ed8\npush    rax                                                            ; +0x9, 0x100142ed9\nmov     r15d, esi                                                      ; +0xa, 0x100142eda\nmovss   [rbp+var_1C], xmm0                                             ; +0xd, 0x100142edd\nmov     rbx, rdi                                                       ; +0x12, 0x100142ee2\nmovss   dword ptr [rdi+3110h], xmm1                                    ; +0x15, 0x100142ee5\nmov     rdi, [rdi+3108h]                                               ; +0x1d, 0x100142eed\nmov     rax, [rdi]                                                     ; +0x24, 0x100142ef4\nmov     esi, 1                                                         ; +0x27, 0x100142ef7\ncall    qword ptr [rax+158h]                                           ; +0x2c, 0x100142efc\ncall    cocos2d__CCHide__create                                        ; +0x32, 0x100142f02\nmov     r14, rax                                                       ; +0x37, 0x100142f07\ncmp     r15d, 2                                                        ; +0x3a, 0x100142f0a\njl      short loc_100142F22                                            ; +0x3e, 0x100142f0e\ndec     r15d                                                           ; +0x40, 0x100142f10\nmovss   xmm0, [rbp+var_1C]                                             ; +0x43, 0x100142f13\nmov     edi, r15d                                                      ; +0x48, 0x100142f18\ncall    cocos2d__CCBlink__create                                       ; +0x4b, 0x100142f1b\njmp     short loc_100142F2C                                            ; +0x50, 0x100142f20\nmovss   xmm0, [rbp+var_1C]                                             ; +0x52, 0x100142f22\ncall    cocos2d__CCDelayTime__create                                   ; +0x57, 0x100142f27\nmov     rdi, rax                                                       ; +0x5c, 0x100142f2c\nmov     rsi, r14                                                       ; +0x5f, 0x100142f2f\nxor     edx, edx                                                       ; +0x62, 0x100142f32\nxor     eax, eax                                                       ; +0x64, 0x100142f34\ncall    sub_10039EB60                                                  ; +0x66, 0x100142f36\nmov     r14, rax                                                       ; +0x6b, 0x100142f3b\nmov     rax, [rax]                                                     ; +0x6e, 0x100142f3e\nmov     rdi, r14                                                       ; +0x71, 0x100142f41\nmov     esi, 0Fh                                                       ; +0x74, 0x100142f44\ncall    qword ptr [rax+48h]                                            ; +0x79, 0x100142f49\nmov     rdi, [rbx+3108h]                                               ; +0x7c, 0x100142f4c\nmov     rsi, r14                                                       ; +0x83, 0x100142f53\nadd     rsp, 8                                                         ; +0x86, 0x100142f56\npop     rbx                                                            ; +0x8a, 0x100142f5a\npop     r14                                                            ; +0x8b, 0x100142f5b\npop     r15                                                            ; +0x8d, 0x100142f5d\npop     rbp                                                            ; +0x8f, 0x100142f5f\njmp     cocos2d__CCNode__runAction                                     ; +0x90, 0x100142f60", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}