{"type": "func", "start": 5373382624, "end": 5373382888, "name": "SetupTriggerPopup::createMultiTriggerItemsDefaultHorizontal", "pseudocode": "// \n// SetupTriggerPopup::createMultiTriggerItemsDefaultHorizontal from 0x140474fe0 to 0x1404750e8 (264 bytes)\n// \n// 20 xrefs:\n// > SetupRotateCommandPopup::init @ 0x1402a8000\n// > SetupAdvFollowPopup::init @ 0x1404025df\n// > SetupAdvFollowEditPhysicsPopup::init @ 0x1404073e0\n// > SetupAreaMoveTriggerPopup::init @ 0x14040b708\n// > SetupAreaTransformTriggerPopup::init @ 0x14040e2e3\n// > SetupAreaRotateTriggerPopup::init @ 0x14040eb9e\n// > SetupAreaFadeTriggerPopup::init @ 0x14040f2f0\n// > SetupAreaTintTriggerPopup::init @ 0x14040fb0f\n// > SetupAreaTriggerPopup::init @ 0x140410aa2\n// > SetupAreaAnimTriggerPopup::init @ 0x14041105f\n// > SetupEnterEffectPopup::init @ 0x14041e315\n// > SetupOptionsTriggerPopup::init @ 0x1404360de\n// > SetupSequenceTriggerPopup::init @ 0x140444579\n// > SetupShaderEffectPopup::init @ 0x14044a357\n// > SetupSongTriggerPopup::init @ 0x14045cb4c\n// > SetupStaticCameraPopup::init @ 0x14045ff11\n// > SetupTeleportPopup::init @ 0x140461a3d\n// > SetupItemEditTriggerPopup::init @ 0x14046ade1\n// > SetupItemCompareTriggerPopup::init @ 0x14046d5ef\n// > <???> @ 0x1406db4ec\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 SetupTriggerPopup::createMultiTriggerItemsDefaultHorizontal(SetupTriggerPopup *a1)\n{\n  cocos2d::CCDirector *v2; // rax\n  double v3; // xmm0_8\n  cocos2d::CCPoint v4; // rax\n  cocos2d::CCPoint v5; // rbx\n  cocos2d::CCPoint v6; // rax\n  cocos2d::CCPoint v7; // [rsp+28h] [rbp-30h] BYREF\n  float v8; // [rsp+60h] [rbp+8h]\n  char v9; // [rsp+68h] [rbp+10h] BYREF\n  char v10; // [rsp+70h] [rbp+18h] BYREF\n\n  v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(a1);\n  cocos2d::CCDirector::getWinSize(v2);\n  v3 = cocos2d::CCPoint::CCPoint(a1->m_width * 0.5, (float)((float)(v8 * 0.5) - (float)(a1->m_width * 0.5)) + 20.0);\n  cocos2d::CCPoint::CCPoint(*(float *)&v3, 90.0);\n  cocos2d::CCPoint::operator+(&v9, &v10);\n  cocos2d::CCPoint::CCPoint(a1->m_width * 0.5, (float)((float)(v8 * 0.5) + (float)(a1->m_width * 0.5)) - 72.0);\n  v5 = v4;\n  cocos2d::CCPoint::CCPoint(&v7);\n  SetupTriggerPopup::createMultiTriggerItems(a1, (cocos2d::CCPoint)&v10, v6, v5);\n}", "assembly": "; \n; SetupTriggerPopup::createMultiTriggerItemsDefaultHorizontal from 0x140474fe0 to 0x1404750e8 (264 bytes)\n; \n; 20 xrefs:\n; > SetupRotateCommandPopup::init @ 0x1402a8000\n; > SetupAdvFollowPopup::init @ 0x1404025df\n; > SetupAdvFollowEditPhysicsPopup::init @ 0x1404073e0\n; > SetupAreaMoveTriggerPopup::init @ 0x14040b708\n; > SetupAreaTransformTriggerPopup::init @ 0x14040e2e3\n; > SetupAreaRotateTriggerPopup::init @ 0x14040eb9e\n; > SetupAreaFadeTriggerPopup::init @ 0x14040f2f0\n; > SetupAreaTintTriggerPopup::init @ 0x14040fb0f\n; > SetupAreaTriggerPopup::init @ 0x140410aa2\n; > SetupAreaAnimTriggerPopup::init @ 0x14041105f\n; > SetupEnterEffectPopup::init @ 0x14041e315\n; > SetupOptionsTriggerPopup::init @ 0x1404360de\n; > SetupSequenceTriggerPopup::init @ 0x140444579\n; > SetupShaderEffectPopup::init @ 0x14044a357\n; > SetupSongTriggerPopup::init @ 0x14045cb4c\n; > SetupStaticCameraPopup::init @ 0x14045ff11\n; > SetupTeleportPopup::init @ 0x140461a3d\n; > SetupItemEditTriggerPopup::init @ 0x14046ade1\n; > SetupItemCompareTriggerPopup::init @ 0x14046d5ef\n; > <???> @ 0x1406db4ec\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, 0x140474fe0\npush    rdi                                                            ; +0x2, 0x140474fe2\nsub     rsp, 48h                                                       ; +0x3, 0x140474fe3\nmovaps  [rsp+58h+var_28], xmm6                                         ; +0x7, 0x140474fe7\nmov     rdi, rcx                                                       ; +0xc, 0x140474fec\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xf, 0x140474fef\nmov     rcx, rax                                                       ; +0x15, 0x140474ff5\nlea     rdx, [rsp+58h+arg_0]                                           ; +0x18, 0x140474ff8\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x1d, 0x140474ffd\nmovss   xmm6, cs:dword_140622B08                                       ; +0x23, 0x140475003\nlea     rcx, [rsp+58h+arg_8]                                           ; +0x2b, 0x14047500b\nmovss   xmm0, dword ptr [rdi+2C8h]                                     ; +0x30, 0x140475010\nmovss   xmm2, [rsp+58h+arg_4]                                          ; +0x38, 0x140475018\nmovss   xmm1, [rsp+58h+arg_0]                                          ; +0x3e, 0x14047501e\nmulss   xmm0, xmm6                                                     ; +0x44, 0x140475024\nmulss   xmm2, xmm6                                                     ; +0x48, 0x140475028\nmulss   xmm1, xmm6                                                     ; +0x4c, 0x14047502c\nsubss   xmm2, xmm0                                                     ; +0x50, 0x140475030\nmovss   xmm0, dword ptr [rdi+2C4h]                                     ; +0x54, 0x140475034\nmulss   xmm0, xmm6                                                     ; +0x5c, 0x14047503c\naddss   xmm2, cs:dword_140623120                                       ; +0x60, 0x140475040\nsubss   xmm1, xmm0                                                     ; +0x68, 0x140475048\naddss   xmm1, cs:dword_140623120                                       ; +0x6c, 0x14047504c\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x74, 0x140475054\nmovss   xmm1, cs:dword_140623294                                       ; +0x7a, 0x14047505a\nlea     rcx, [rsp+58h+arg_18]                                          ; +0x82, 0x140475062\nxorps   xmm2, xmm2                                                     ; +0x87, 0x140475067\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x8a, 0x14047506a\nmov     r8, rax                                                        ; +0x90, 0x140475070\nlea     rdx, [rsp+58h+arg_10]                                          ; +0x93, 0x140475073\nlea     rcx, [rsp+58h+arg_8]                                           ; +0x98, 0x140475078\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x9d, 0x14047507d\nmovss   xmm1, [rsp+58h+arg_0]                                          ; +0xa3, 0x140475083\nlea     rcx, [rsp+58h+var_38]                                          ; +0xa9, 0x140475089\nmovss   xmm0, dword ptr [rdi+2C4h]                                     ; +0xae, 0x14047508e\nmovss   xmm2, [rsp+58h+arg_C]                                          ; +0xb6, 0x140475096\nmulss   xmm1, xmm6                                                     ; +0xbc, 0x14047509c\nmulss   xmm0, xmm6                                                     ; +0xc0, 0x1404750a0\naddss   xmm1, xmm0                                                     ; +0xc4, 0x1404750a4\nsubss   xmm1, cs:dword_14062324C                                       ; +0xc8, 0x1404750a8\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xd0, 0x1404750b0\nlea     rdx, [rsp+58h+arg_8]                                           ; +0xd6, 0x1404750b6\nmov     rbx, rax                                                       ; +0xdb, 0x1404750bb\nlea     rcx, [rsp+58h+var_30]                                          ; +0xde, 0x1404750be\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xe3, 0x1404750c3\nmov     r9, rbx                                                        ; +0xe9, 0x1404750c9\nlea     rdx, [rsp+58h+arg_10]                                          ; +0xec, 0x1404750cc\nmov     r8, rax                                                        ; +0xf1, 0x1404750d1\nmov     rcx, rdi                                                       ; +0xf4, 0x1404750d4\ncall    SetupTriggerPopup__createMultiTriggerItems                     ; +0xf7, 0x1404750d7\nmovaps  xmm6, [rsp+58h+var_28]                                         ; +0xfc, 0x1404750dc\nadd     rsp, 48h                                                       ; +0x101, 0x1404750e1\npop     rdi                                                            ; +0x105, 0x1404750e5\npop     rbx                                                            ; +0x106, 0x1404750e6\nretn                                                                   ; +0x107, 0x1404750e7", "xrefs": ["SetupRotateCommandPopup::init @ 0x1402a8000", "SetupAdvFollowPopup::init @ 0x1404025df", "SetupAdvFollowEditPhysicsPopup::init @ 0x1404073e0", "SetupAreaMoveTriggerPopup::init @ 0x14040b708", "SetupAreaTransformTriggerPopup::init @ 0x14040e2e3", "SetupAreaRotateTriggerPopup::init @ 0x14040eb9e", "SetupAreaFadeTriggerPopup::init @ 0x14040f2f0", "SetupAreaTintTriggerPopup::init @ 0x14040fb0f", "SetupAreaTriggerPopup::init @ 0x140410aa2", "SetupAreaAnimTriggerPopup::init @ 0x14041105f", "SetupEnterEffectPopup::init @ 0x14041e315", "SetupOptionsTriggerPopup::init @ 0x1404360de", "SetupSequenceTriggerPopup::init @ 0x140444579", "SetupShaderEffectPopup::init @ 0x14044a357", "SetupSongTriggerPopup::init @ 0x14045cb4c", "SetupStaticCameraPopup::init @ 0x14045ff11", "SetupTeleportPopup::init @ 0x140461a3d", "SetupItemEditTriggerPopup::init @ 0x14046ade1", "SetupItemCompareTriggerPopup::init @ 0x14046d5ef", "<???> @ 0x1406db4ec"], "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"}