{"type": "func", "start": 4303120272, "end": 4303120394, "name": "CCCountdown::startTimerWithSeconds", "pseudocode": "// \n// CCCountdown::startTimerWithSeconds from 0x1007c6790 to 0x1007c680a (122 bytes)\n// \n// 0 xrefs:\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 CCCountdown::startTimerWithSeconds(\n        CCCountdown *a1,\n        float a2,\n        cocos2d::SEL_CallFunc a3,\n        cocos2d::CCNode *a4)\n{\n  size_t adj; // r14\n  cocos2d::CCDirector *v6; // rax\n  cocos2d::CCActionManager *v7; // rax\n\n  adj = a3.adj;\n  v6 = cocos2d::CCDirector::sharedDirector();\n  v7 = (cocos2d::CCActionManager *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v6->getActionManager)(v6);\n  cocos2d::CCActionManager::removeAllActionsFromTarget(v7, a1->m_progressTimer);\n  a1->m_seconds = (int)a2;\n  a1->m_callbackSelector.ptr = a3.ptr;\n  a1->m_callbackSelector.adj = adj;\n  a1->m_targetNode = a4;\n  CCCountdown::lapFinished(a1);\n}", "assembly": "; \n; CCCountdown::startTimerWithSeconds from 0x1007c6790 to 0x1007c680a (122 bytes)\n; \n; 0 xrefs:\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, 0x1007c6790\nmov     rbp, rsp                                                       ; +0x1, 0x1007c6791\npush    r15                                                            ; +0x4, 0x1007c6794\npush    r14                                                            ; +0x6, 0x1007c6796\npush    r12                                                            ; +0x8, 0x1007c6798\npush    rbx                                                            ; +0xa, 0x1007c679a\nsub     rsp, 10h                                                       ; +0xb, 0x1007c679b\nmov     rbx, rcx                                                       ; +0xf, 0x1007c679f\nmov     r14, rdx                                                       ; +0x12, 0x1007c67a2\nmov     r15, rsi                                                       ; +0x15, 0x1007c67a5\nmovss   [rbp+var_24], xmm0                                             ; +0x18, 0x1007c67a8\nmov     r12, rdi                                                       ; +0x1d, 0x1007c67ad\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x20, 0x1007c67b0\nmov     rcx, [rax]                                                     ; +0x25, 0x1007c67b5\nmov     rdi, rax                                                       ; +0x28, 0x1007c67b8\ncall    qword ptr [rcx+90h]                                            ; +0x2b, 0x1007c67bb\nmov     rsi, [r12+258h]                                                ; +0x31, 0x1007c67c1\nmov     rdi, rax                                                       ; +0x39, 0x1007c67c9\ncall    cocos2d__CCActionManager__removeAllActionsFromTarget           ; +0x3c, 0x1007c67cc\ncvttss2si eax, [rbp+var_24]                                            ; +0x41, 0x1007c67d1\nmov     [r12+264h], eax                                                ; +0x46, 0x1007c67d6\nmov     [r12+270h], r15                                                ; +0x4e, 0x1007c67de\nmov     [r12+278h], r14                                                ; +0x56, 0x1007c67e6\nmov     [r12+280h], rbx                                                ; +0x5e, 0x1007c67ee\nmov     rdi, r12                                                       ; +0x66, 0x1007c67f6\nadd     rsp, 10h                                                       ; +0x69, 0x1007c67f9\npop     rbx                                                            ; +0x6d, 0x1007c67fd\npop     r12                                                            ; +0x6e, 0x1007c67fe\npop     r14                                                            ; +0x70, 0x1007c6800\npop     r15                                                            ; +0x72, 0x1007c6802\npop     rbp                                                            ; +0x74, 0x1007c6804\njmp     CCCountdown__lapFinished                                       ; +0x75, 0x1007c6805", "xrefs": [], "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"}