{"type": "func", "start": 5372425936, "end": 5372426063, "name": "PlayerObject::levelWillFlip", "pseudocode": "// \n// PlayerObject::levelWillFlip from 0x14038b6d0 to 0x14038b74f (127 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::toggleFlipped @ 0x14024695c\n// > GJBaseGameLayer::toggleFlipped @ 0x140246971\n// > <???> @ 0x1406d5fd8\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 PlayerObject::levelWillFlip(PlayerObject *a1)\n{\n  bool v2; // zf\n\n  ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *))a1->m_trailingParticles->setLife)(a1->m_trailingParticles);\n  cocos2d::CCMotionStreak::stopStroke(a1->m_regularTrail);\n  if ( a1->m_fadeOutStreak )\n  {\n    v2 = !a1->m_playEffects;\n    a1->m_fadeOutStreak = 0;\n    if ( v2 )\n      PlayerObject::fadeOutStreak2(a1, 0.60000002);\n    else\n      PlayerObject::fadeOutStreak2(a1, 0.2);\n  }\n}", "assembly": "; \n; PlayerObject::levelWillFlip from 0x14038b6d0 to 0x14038b74f (127 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::toggleFlipped @ 0x14024695c\n; > GJBaseGameLayer::toggleFlipped @ 0x140246971\n; > <???> @ 0x1406d5fd8\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    rbx                                                            ; +0x0, 0x14038b6d0\nsub     rsp, 20h                                                       ; +0x2, 0x14038b6d2\nmov     rbx, rcx                                                       ; +0x6, 0x14038b6d6\nmov     rcx, [rcx+8C0h]                                                ; +0x9, 0x14038b6d9\nmovss   xmm1, dword ptr [rbx+7D0h]                                     ; +0x10, 0x14038b6e0\nmulss   xmm1, cs:dword_140622AA0                                       ; +0x18, 0x14038b6e8\nmov     rax, [rcx]                                                     ; +0x20, 0x14038b6f0\ncall    qword ptr [rax+3B8h]                                           ; +0x23, 0x14038b6f3\nmov     rcx, [rbx+7A0h]                                                ; +0x29, 0x14038b6f9\ncall    cs:?stopStroke@CCMotionStreak@cocos2d@@QEAAXXZ; cocos2d::CCMotionStreak::stopStroke(void) ; +0x30, 0x14038b700\ncmp     byte ptr [rbx+978h], 0                                         ; +0x36, 0x14038b706\njz      short loc_14038B749                                            ; +0x3d, 0x14038b70d\ncmp     byte ptr [rbx+7E4h], 0                                         ; +0x3f, 0x14038b70f\nmov     byte ptr [rbx+978h], 0                                         ; +0x46, 0x14038b716\njz      short loc_14038B734                                            ; +0x4d, 0x14038b71d\nmovss   xmm1, cs:dword_140622A74                                       ; +0x4f, 0x14038b71f\nmov     rcx, rbx                                                       ; +0x57, 0x14038b727\nadd     rsp, 20h                                                       ; +0x5a, 0x14038b72a\npop     rbx                                                            ; +0x5e, 0x14038b72e\njmp     PlayerObject__fadeOutStreak2                                   ; +0x5f, 0x14038b72f\nmovss   xmm1, cs:dword_140622B38                                       ; +0x64, 0x14038b734\nmov     rcx, rbx                                                       ; +0x6c, 0x14038b73c\nadd     rsp, 20h                                                       ; +0x6f, 0x14038b73f\npop     rbx                                                            ; +0x73, 0x14038b743\njmp     PlayerObject__fadeOutStreak2                                   ; +0x74, 0x14038b744\nadd     rsp, 20h                                                       ; +0x79, 0x14038b749\npop     rbx                                                            ; +0x7d, 0x14038b74d\nretn                                                                   ; +0x7e, 0x14038b74e", "xrefs": ["GJBaseGameLayer::toggleFlipped @ 0x14024695c", "GJBaseGameLayer::toggleFlipped @ 0x140246971", "<???> @ 0x1406d5fd8"], "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"}