{"type": "func", "start": 5372594032, "end": 5372594413, "name": "PlayLayer::showHint", "pseudocode": "// \n// PlayLayer::showHint from 0x1403b4770 to 0x1403b48ed (381 bytes)\n// \n// 3 xrefs:\n// > PlayLayer::destroyPlayer @ 0x1403b3c28\n// > PlayLayer::destroyPlayer @ 0x1403b3c72\n// > <???> @ 0x1406d6ed8\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 PlayLayer::showHint(PlayLayer *a1)\n{\n  float v1; // xmm3_4\n  cocos2d::CCDirector *v3; // rax\n  float v4; // xmm7_4\n  int v5; // edx\n  const char *v6; // rcx\n  CCLightFlash *v7; // r14\n  float v8; // xmm0_4\n  CCLightFlash_vtbl *v9; // rbx\n  const cocos2d::CCPoint *v10; // rax\n  struct cocos2d::CCFadeIn *v11; // rsi\n  struct cocos2d::CCDelayTime *v12; // rdi\n  struct cocos2d::CCFadeOut *v13; // rbx\n  __int64 v14; // rax\n  struct cocos2d::CCSequence *v15; // rax\n  cocos2d::ccColor3B *v16; // r8\n  float v17; // [rsp+70h] [rbp+8h]\n\n  a1->m_hintShown = 1;\n  v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(a1);\n  cocos2d::CCDirector::getWinSize(v3);\n  v4 = 3.0;\n  v5 = a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed;\n  if ( v5 == 1 || v5 == 1001 )\n  {\n    v6 = \"Click / Space to jump over the spikes\";\n  }\n  else\n  {\n    v6 = \"Click while touching a ring to jump mid air\";\n    v4 = 4.0;\n  }\n  v7 = (CCLightFlash *)cocos2d::CCLabelBMFont::create(v6, (const char *)&qword_14052A4D8);\n  ((void (__fastcall *)(CCLightFlash *))v7->setScale_0)(v7);\n  v8 = ((float (__fastcall *)(PlayLayer *, CCLightFlash *, __int64))a1->addChild_0)(a1, v7, 3);\n  v9 = v7->__vftable;\n  cocos2d::CCPoint::CCPoint(v8, v17 * 0.5);\n  v9->setPosition_0(v7, v10);\n  (*(void (__fastcall **)(unsigned int *, _QWORD))(*(_QWORD *)&v7[1].m_uID + 40LL))(&v7[1].m_uID, 0);\n  v11 = cocos2d::CCFadeIn::create(0.5);\n  v12 = cocos2d::CCDelayTime::create(v4);\n  v13 = cocos2d::CCFadeOut::create(0.5);\n  v14 = cocos2d::CCCallFunc::create(v7, sub_14003BE70);\n  v15 = cocos2d::CCSequence::create(v11, v12, v13, v14);\n  cocos2d::CCNode::runAction(v7, (cocos2d::CCPoint)v15, v16, v1, 0.0);\n}", "assembly": "; \n; PlayLayer::showHint from 0x1403b4770 to 0x1403b48ed (381 bytes)\n; \n; 3 xrefs:\n; > PlayLayer::destroyPlayer @ 0x1403b3c28\n; > PlayLayer::destroyPlayer @ 0x1403b3c72\n; > <???> @ 0x1406d6ed8\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\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1403b4770\npush    rsi                                                            ; +0x5, 0x1403b4775\npush    rdi                                                            ; +0x6, 0x1403b4776\npush    r14                                                            ; +0x7, 0x1403b4777\nsub     rsp, 50h                                                       ; +0x9, 0x1403b4779\nmovaps  [rsp+68h+var_28], xmm6                                         ; +0xd, 0x1403b477d\nmov     rbx, rcx                                                       ; +0x12, 0x1403b4782\nmovaps  [rsp+68h+var_38], xmm7                                         ; +0x15, 0x1403b4785\nmov     byte ptr [rcx+38E9h], 1                                        ; +0x1a, 0x1403b478a\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x21, 0x1403b4791\nmov     rcx, rax                                                       ; +0x27, 0x1403b4797\nlea     rdx, [rsp+68h+arg_0]                                           ; +0x2a, 0x1403b479a\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x2f, 0x1403b479f\nmov     rax, [rbx+878h]                                                ; +0x35, 0x1403b47a5\nmovss   xmm6, cs:dword_140622B74                                       ; +0x3c, 0x1403b47ac\nmovss   xmm7, cs:flt_140622F28                                         ; +0x44, 0x1403b47b4\nmov     edx, [rax+148h]                                                ; +0x4c, 0x1403b47bc\nsub     edx, [rax+14Ch]                                                ; +0x52, 0x1403b47c2\ncmp     edx, 1                                                         ; +0x58, 0x1403b47c8\njz      short loc_1403B47EE                                            ; +0x5b, 0x1403b47cb\ncmp     edx, 3E9h                                                      ; +0x5d, 0x1403b47cd\njz      short loc_1403B47EE                                            ; +0x63, 0x1403b47d3\nmovss   xmm6, cs:dword_140622B38                                       ; +0x65, 0x1403b47d5\nlea     rcx, aClickWhileTouc; \"Click while touching a ring to jump mid\"... ; +0x6d, 0x1403b47dd\nmovss   xmm7, cs:dword_140622FF0                                       ; +0x74, 0x1403b47e4\njmp     short loc_1403B47F5                                            ; +0x7c, 0x1403b47ec\nlea     rcx, aClickSpaceToJu; \"Click / Space to jump over the spikes\"  ; +0x7e, 0x1403b47ee\nlea     rdx, qword_14052A4D8                                           ; +0x85, 0x1403b47f5\ncall    cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0x8c, 0x1403b47fc\nmovaps  xmm1, xmm6                                                     ; +0x92, 0x1403b4802\nmov     rcx, rax                                                       ; +0x95, 0x1403b4805\nmov     r14, rax                                                       ; +0x98, 0x1403b4808\nmov     rdx, [rax]                                                     ; +0x9b, 0x1403b480b\ncall    qword ptr [rdx+0A0h]                                           ; +0x9e, 0x1403b480e\nmov     r9, [rbx]                                                      ; +0xa4, 0x1403b4814\nmov     r8d, 3                                                         ; +0xa7, 0x1403b4817\nmov     rdx, r14                                                       ; +0xad, 0x1403b481d\nmov     rcx, rbx                                                       ; +0xb0, 0x1403b4820\ncall    qword ptr [r9+1B8h]                                            ; +0xb3, 0x1403b4823\nmovss   xmm2, [rsp+68h+arg_4]                                          ; +0xba, 0x1403b482a\nlea     rcx, [rsp+68h+arg_8]                                           ; +0xc0, 0x1403b4830\nmovss   xmm6, cs:dword_140622B08                                       ; +0xc5, 0x1403b4835\nmovss   xmm1, [rsp+68h+arg_0]                                          ; +0xcd, 0x1403b483d\nmov     rbx, [r14]                                                     ; +0xd3, 0x1403b4843\nmulss   xmm2, xmm6                                                     ; +0xd6, 0x1403b4846\nmulss   xmm1, xmm6                                                     ; +0xda, 0x1403b484a\naddss   xmm2, cs:dword_140623210                                       ; +0xde, 0x1403b484e\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xe6, 0x1403b4856\nmov     rdx, rax                                                       ; +0xec, 0x1403b485c\nmov     rcx, r14                                                       ; +0xef, 0x1403b485f\ncall    qword ptr [rbx+0B8h]                                           ; +0xf2, 0x1403b4862\nlea     rcx, [r14+170h]                                                ; +0xf8, 0x1403b4868\nxor     edx, edx                                                       ; +0xff, 0x1403b486f\nmov     rax, [rcx]                                                     ; +0x101, 0x1403b4871\ncall    qword ptr [rax+28h]                                            ; +0x104, 0x1403b4874\nmovaps  xmm0, xmm6                                                     ; +0x107, 0x1403b4877\ncall    cs:?create@CCFadeIn@cocos2d@@SAPEAV12@M@Z; cocos2d::CCFadeIn::create(float) ; +0x10a, 0x1403b487a\nmovaps  xmm0, xmm7                                                     ; +0x110, 0x1403b4880\nmov     rsi, rax                                                       ; +0x113, 0x1403b4883\ncall    cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0x116, 0x1403b4886\nmovaps  xmm0, xmm6                                                     ; +0x11c, 0x1403b488c\nmov     rdi, rax                                                       ; +0x11f, 0x1403b488f\ncall    cs:?create@CCFadeOut@cocos2d@@SAPEAV12@M@Z; cocos2d::CCFadeOut::create(float) ; +0x122, 0x1403b4892\nlea     rdx, sub_14003BE70                                             ; +0x128, 0x1403b4898\nmov     rcx, r14                                                       ; +0x12f, 0x1403b489f\nmov     rbx, rax                                                       ; +0x132, 0x1403b48a2\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x135, 0x1403b48a5\nmov     r8, rbx                                                        ; +0x13b, 0x1403b48ab\nmov     [rsp+68h+var_48], 0                                            ; +0x13e, 0x1403b48ae\nmov     r9, rax                                                        ; +0x147, 0x1403b48b7\nmov     rdx, rdi                                                       ; +0x14a, 0x1403b48ba\nmov     rcx, rsi                                                       ; +0x14d, 0x1403b48bd\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x150, 0x1403b48c0\nmov     rdx, rax                                                       ; +0x156, 0x1403b48c6\nmov     rcx, r14                                                       ; +0x159, 0x1403b48c9\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x15c, 0x1403b48cc\nmov     rbx, [rsp+68h+arg_10]                                          ; +0x162, 0x1403b48d2\nmovaps  xmm6, [rsp+68h+var_28]                                         ; +0x16a, 0x1403b48da\nmovaps  xmm7, [rsp+68h+var_38]                                         ; +0x16f, 0x1403b48df\nadd     rsp, 50h                                                       ; +0x174, 0x1403b48e4\npop     r14                                                            ; +0x178, 0x1403b48e8\npop     rdi                                                            ; +0x17a, 0x1403b48ea\npop     rsi                                                            ; +0x17b, 0x1403b48eb\nretn                                                                   ; +0x17c, 0x1403b48ec", "xrefs": ["PlayLayer::destroyPlayer @ 0x1403b3c28", "PlayLayer::destroyPlayer @ 0x1403b3c72", "<???> @ 0x1406d6ed8"], "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"}