{"type": "func", "start": 4298544832, "end": 4298544996, "name": "GameManager::rewardedVideoAdFinished", "pseudocode": "// \n// GameManager::rewardedVideoAdFinished from 0x1003696c0 to 0x100369764 (164 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:28:59 +0000\n// \n\n__int64 __fastcall GameManager::rewardedVideoAdFinished(__int64 a1)\n{\n  int v1; // r14d\n  int v2; // eax\n  int v3; // ecx\n  int v4; // r8d\n  int v5; // r9d\n  __int64 v6; // r14\n  timeb v8; // [rsp+0h] [rbp-20h] BYREF\n\n  ftime(&v8);\n  *(double *)(a1 + 464) = (double)v8.millitm / 1000.0 + (double)SLODWORD(v8.time);\n  cocos2d::CCNode::stopActionByTag(a1, 10);\n  v1 = cocos2d::CCDelayTime::create(0.050000001);\n  v2 = cocos2d::CCCallFunc::create(a1, GameManager::rewardedVideoHidden, 0);\n  v6 = sub_10039EB60(v1, v2, 0, v3, v4, v5);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 72LL))(v6, 10);\n  return cocos2d::CCActionManager::addAction(*(_QWORD *)(a1 + 264), v6, a1, 0);\n}", "assembly": "; \n; GameManager::rewardedVideoAdFinished from 0x1003696c0 to 0x100369764 (164 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:28:59 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003696c0\nmov     rbp, rsp                                                       ; +0x1, 0x1003696c1\npush    r14                                                            ; +0x4, 0x1003696c4\npush    rbx                                                            ; +0x6, 0x1003696c6\nsub     rsp, 10h                                                       ; +0x7, 0x1003696c7\nmov     rbx, rdi                                                       ; +0xb, 0x1003696cb\nlea     rdi, [rbp+var_20]; timeb *                                     ; +0xe, 0x1003696ce\ncall    _ftime                                                         ; +0x12, 0x1003696d2\ncvtsi2sd xmm0, [rbp+var_20.time]                                       ; +0x17, 0x1003696d7\nmovzx   eax, [rbp+var_20.millitm]                                      ; +0x1d, 0x1003696dd\ncvtsi2sd xmm1, eax                                                     ; +0x21, 0x1003696e1\ndivsd   xmm1, cs:qword_100A03B70                                       ; +0x25, 0x1003696e5\naddsd   xmm1, xmm0                                                     ; +0x2d, 0x1003696ed\nmovsd   qword ptr [rbx+1D0h], xmm1                                     ; +0x31, 0x1003696f1\nmov     rdi, rbx                                                       ; +0x39, 0x1003696f9\nmov     esi, 0Ah                                                       ; +0x3c, 0x1003696fc\ncall    cocos2d__CCNode__stopActionByTag                               ; +0x41, 0x100369701\nmovss   xmm0, cs:dword_100A0412C                                       ; +0x46, 0x100369706\ncall    cocos2d__CCDelayTime__create                                   ; +0x4e, 0x10036970e\nmov     r14, rax                                                       ; +0x53, 0x100369713\nlea     rsi, GameManager__rewardedVideoHidden                          ; +0x56, 0x100369716\nmov     rdi, rbx                                                       ; +0x5d, 0x10036971d\nxor     edx, edx                                                       ; +0x60, 0x100369720\ncall    cocos2d__CCCallFunc__create                                    ; +0x62, 0x100369722\nmov     rdi, r14                                                       ; +0x67, 0x100369727\nmov     rsi, rax                                                       ; +0x6a, 0x10036972a\nxor     edx, edx                                                       ; +0x6d, 0x10036972d\nxor     eax, eax                                                       ; +0x6f, 0x10036972f\ncall    sub_10039EB60                                                  ; +0x71, 0x100369731\nmov     r14, rax                                                       ; +0x76, 0x100369736\nmov     rax, [rax]                                                     ; +0x79, 0x100369739\nmov     rdi, r14                                                       ; +0x7c, 0x10036973c\nmov     esi, 0Ah                                                       ; +0x7f, 0x10036973f\ncall    qword ptr [rax+48h]                                            ; +0x84, 0x100369744\nmov     rdi, [rbx+108h]                                                ; +0x87, 0x100369747\nmov     rsi, r14                                                       ; +0x8e, 0x10036974e\nmov     rdx, rbx                                                       ; +0x91, 0x100369751\nxor     ecx, ecx                                                       ; +0x94, 0x100369754\ncall    cocos2d__CCActionManager__addAction                            ; +0x96, 0x100369756\nadd     rsp, 10h                                                       ; +0x9b, 0x10036975b\npop     rbx                                                            ; +0x9f, 0x10036975f\npop     r14                                                            ; +0xa0, 0x100369760\npop     rbp                                                            ; +0xa2, 0x100369762\nretn                                                                   ; +0xa3, 0x100369763", "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"}