{"type": "func", "start": 5372989680, "end": 5372989824, "name": "SetupCameraModePopup::updateCameraEasing", "pseudocode": "// \n// SetupCameraModePopup::updateCameraEasing from 0x1404150f0 to 0x140415180 (144 bytes)\n// \n// 3 xrefs:\n// > SetupCameraModePopup::onEditCameraSettings @ 0x140414ef0\n// > SetupCameraModePopup::sliderChanged @ 0x140415033\n// > <???> @ 0x1406d8ea0\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 SetupCameraModePopup::updateCameraEasing(SetupCameraModePopup *a1)\n{\n  EffectGameObject *m_gameObject; // rax\n  unsigned int i; // edi\n  struct cocos2d::CCObject *v4; // rax\n\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_cameraEasingValue = (float)a1->m_cameraEasing;\n  }\n  else\n  {\n    for ( i = 0;\n          i < cocos2d::CCArray::count(a1->m_gameObjects);\n          *(float *)&v4[31].m_uIndexInArray = (float)a1->m_cameraEasing )\n    {\n      v4 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i++);\n    }\n  }\n}", "assembly": "; \n; SetupCameraModePopup::updateCameraEasing from 0x1404150f0 to 0x140415180 (144 bytes)\n; \n; 3 xrefs:\n; > SetupCameraModePopup::onEditCameraSettings @ 0x140414ef0\n; > SetupCameraModePopup::sliderChanged @ 0x140415033\n; > <???> @ 0x1406d8ea0\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, 0x1404150f0\nsub     rsp, 20h                                                       ; +0x2, 0x1404150f2\nmov     rax, [rcx+290h]                                                ; +0x6, 0x1404150f6\nmov     rbx, rcx                                                       ; +0xd, 0x1404150fd\ntest    rax, rax                                                       ; +0x10, 0x140415100\njz      short loc_14041511E                                            ; +0x13, 0x140415103\nmovd    xmm0, dword ptr [rcx+3C8h]                                     ; +0x15, 0x140415105\ncvtdq2ps xmm0, xmm0                                                    ; +0x1d, 0x14041510d\nmovss   dword ptr [rax+6E8h], xmm0                                     ; +0x20, 0x140415110\nadd     rsp, 20h                                                       ; +0x28, 0x140415118\npop     rbx                                                            ; +0x2c, 0x14041511c\nretn                                                                   ; +0x2d, 0x14041511d\nmov     rcx, [rcx+298h]                                                ; +0x2e, 0x14041511e\nmov     [rsp+28h+arg_0], rdi                                           ; +0x35, 0x140415125\nxor     edi, edi                                                       ; +0x3a, 0x14041512a\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3c, 0x14041512c\ntest    eax, eax                                                       ; +0x42, 0x140415132\njz      short loc_140415175                                            ; +0x44, 0x140415134\nnop     word ptr [rax+rax+00000000h]                                   ; +0x46, 0x140415136\nmov     rcx, [rbx+298h]                                                ; +0x50, 0x140415140\nmov     edx, edi                                                       ; +0x57, 0x140415147\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x140415149\nmovd    xmm0, dword ptr [rbx+3C8h]                                     ; +0x5f, 0x14041514f\ninc     edi                                                            ; +0x67, 0x140415157\ncvtdq2ps xmm0, xmm0                                                    ; +0x69, 0x140415159\nmovss   dword ptr [rax+6E8h], xmm0                                     ; +0x6c, 0x14041515c\nmov     rcx, [rbx+298h]                                                ; +0x74, 0x140415164\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x7b, 0x14041516b\ncmp     edi, eax                                                       ; +0x81, 0x140415171\njb      short loc_140415140                                            ; +0x83, 0x140415173\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x85, 0x140415175\nadd     rsp, 20h                                                       ; +0x8a, 0x14041517a\npop     rbx                                                            ; +0x8e, 0x14041517e\nretn                                                                   ; +0x8f, 0x14041517f", "xrefs": ["SetupCameraModePopup::onEditCameraSettings @ 0x140414ef0", "SetupCameraModePopup::sliderChanged @ 0x140415033", "<???> @ 0x1406d8ea0"], "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"}