{"type": "func", "start": 5373381840, "end": 5373382104, "name": "SetupTriggerPopup::createMultiTriggerItemsDefault", "pseudocode": "// \n// SetupTriggerPopup::createMultiTriggerItemsDefault from 0x140474cd0 to 0x140474dd8 (264 bytes)\n// \n// 40 xrefs:\n// > EditTriggersPopup::init @ 0x14028f213\n// > SetupEnterTriggerPopup::init @ 0x14028f44f\n// > SetTargetIDLayer::init @ 0x140402261\n// > SetupAdvFollowRetargetPopup::init @ 0x140408338\n// > SetupAnimationPopup::init @ 0x140409acc\n// > SetupCameraEdgePopup::init @ 0x140413978\n// > SetupCameraOffsetTrigger::init @ 0x140416623\n// > SetupCameraRotatePopup2::init @ 0x140417d08\n// > SetupCollisionTriggerPopup::init @ 0x140418ec6\n// > SetupInstantCollisionTriggerPopup::init @ 0x14041a5f9\n// > SetupEndPopup::init @ 0x14041d445\n// > SetupPlatformerEndPopup::init @ 0x14041dd96\n// > SetupInstantCountPopup::init @ 0x140422fa8\n// > SetupKeyframeAnimPopup::init @ 0x1404249f8\n// > SetupMGTrigger::init @ 0x1404281e0\n// > SetupBGSpeedTrigger::init @ 0x140428f89\n// > SetupGravityTriggerPopup::init @ 0x140429407\n// > SetupObjectTogglePopup::init @ 0x14042a287\n// > SetupOpacityPopup::init @ 0x14042b382\n// > SetupPickupTriggerPopup::init @ 0x1404371e8\n// > SetupRotateGameplayPopup::init @ 0x140441ece\n// > SetupGameplayOffsetPopup::init @ 0x14044220e\n// > SetupSFXPopup::init @ 0x14044746b\n// > SetupSFXEditPopup::init @ 0x14044985e\n// > SetupShakePopup::init @ 0x1404550d7\n// > SetupSpawnPopup::init @ 0x14045edc1\n// > SetupTimerTriggerPopup::init @ 0x140462010\n// > SetupTimerEventTriggerPopup::init @ 0x140462991\n// > SetupTimerControlTriggerPopup::init @ 0x140462f8e\n// > SetupEventLinkPopup::init @ 0x140466133\n// > SetupPlayerControlPopup::init @ 0x140467f7a\n// > SetupSpawnParticlePopup::init @ 0x140468688\n// > SetupCheckpointPopup::init @ 0x140469190\n// > SetupResetTriggerPopup::init @ 0x14046a91c\n// > SetupPersistentItemTriggerPopup::init @ 0x14046fc15\n// > SetupArtSwitchPopup::init @ 0x14047208d\n// > SetupStopTriggerPopup::init @ 0x140472917\n// > SetupObjectControlPopup::init @ 0x140473084\n// > SetupZoomTriggerPopup::init @ 0x14047e32f\n// > <???> @ 0x1406db4c8\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::createMultiTriggerItemsDefault(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, 0.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::createMultiTriggerItemsDefault from 0x140474cd0 to 0x140474dd8 (264 bytes)\n; \n; 40 xrefs:\n; > EditTriggersPopup::init @ 0x14028f213\n; > SetupEnterTriggerPopup::init @ 0x14028f44f\n; > SetTargetIDLayer::init @ 0x140402261\n; > SetupAdvFollowRetargetPopup::init @ 0x140408338\n; > SetupAnimationPopup::init @ 0x140409acc\n; > SetupCameraEdgePopup::init @ 0x140413978\n; > SetupCameraOffsetTrigger::init @ 0x140416623\n; > SetupCameraRotatePopup2::init @ 0x140417d08\n; > SetupCollisionTriggerPopup::init @ 0x140418ec6\n; > SetupInstantCollisionTriggerPopup::init @ 0x14041a5f9\n; > SetupEndPopup::init @ 0x14041d445\n; > SetupPlatformerEndPopup::init @ 0x14041dd96\n; > SetupInstantCountPopup::init @ 0x140422fa8\n; > SetupKeyframeAnimPopup::init @ 0x1404249f8\n; > SetupMGTrigger::init @ 0x1404281e0\n; > SetupBGSpeedTrigger::init @ 0x140428f89\n; > SetupGravityTriggerPopup::init @ 0x140429407\n; > SetupObjectTogglePopup::init @ 0x14042a287\n; > SetupOpacityPopup::init @ 0x14042b382\n; > SetupPickupTriggerPopup::init @ 0x1404371e8\n; > SetupRotateGameplayPopup::init @ 0x140441ece\n; > SetupGameplayOffsetPopup::init @ 0x14044220e\n; > SetupSFXPopup::init @ 0x14044746b\n; > SetupSFXEditPopup::init @ 0x14044985e\n; > SetupShakePopup::init @ 0x1404550d7\n; > SetupSpawnPopup::init @ 0x14045edc1\n; > SetupTimerTriggerPopup::init @ 0x140462010\n; > SetupTimerEventTriggerPopup::init @ 0x140462991\n; > SetupTimerControlTriggerPopup::init @ 0x140462f8e\n; > SetupEventLinkPopup::init @ 0x140466133\n; > SetupPlayerControlPopup::init @ 0x140467f7a\n; > SetupSpawnParticlePopup::init @ 0x140468688\n; > SetupCheckpointPopup::init @ 0x140469190\n; > SetupResetTriggerPopup::init @ 0x14046a91c\n; > SetupPersistentItemTriggerPopup::init @ 0x14046fc15\n; > SetupArtSwitchPopup::init @ 0x14047208d\n; > SetupStopTriggerPopup::init @ 0x140472917\n; > SetupObjectControlPopup::init @ 0x140473084\n; > SetupZoomTriggerPopup::init @ 0x14047e32f\n; > <???> @ 0x1406db4c8\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, 0x140474cd0\npush    rdi                                                            ; +0x2, 0x140474cd2\nsub     rsp, 48h                                                       ; +0x3, 0x140474cd3\nmovaps  [rsp+58h+var_28], xmm6                                         ; +0x7, 0x140474cd7\nmov     rdi, rcx                                                       ; +0xc, 0x140474cdc\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xf, 0x140474cdf\nmov     rcx, rax                                                       ; +0x15, 0x140474ce5\nlea     rdx, [rsp+58h+arg_0]                                           ; +0x18, 0x140474ce8\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x1d, 0x140474ced\nmovss   xmm6, cs:dword_140622B08                                       ; +0x23, 0x140474cf3\nlea     rcx, [rsp+58h+arg_8]                                           ; +0x2b, 0x140474cfb\nmovss   xmm0, dword ptr [rdi+2C8h]                                     ; +0x30, 0x140474d00\nmovss   xmm2, [rsp+58h+arg_4]                                          ; +0x38, 0x140474d08\nmovss   xmm1, [rsp+58h+arg_0]                                          ; +0x3e, 0x140474d0e\nmulss   xmm0, xmm6                                                     ; +0x44, 0x140474d14\nmulss   xmm2, xmm6                                                     ; +0x48, 0x140474d18\nmulss   xmm1, xmm6                                                     ; +0x4c, 0x140474d1c\nsubss   xmm2, xmm0                                                     ; +0x50, 0x140474d20\nmovss   xmm0, dword ptr [rdi+2C4h]                                     ; +0x54, 0x140474d24\nmulss   xmm0, xmm6                                                     ; +0x5c, 0x140474d2c\naddss   xmm2, cs:dword_140623120                                       ; +0x60, 0x140474d30\nsubss   xmm1, xmm0                                                     ; +0x68, 0x140474d38\naddss   xmm1, cs:dword_140623120                                       ; +0x6c, 0x140474d3c\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x74, 0x140474d44\nmovss   xmm2, cs:dword_140623164                                       ; +0x7a, 0x140474d4a\nlea     rcx, [rsp+58h+arg_18]                                          ; +0x82, 0x140474d52\nxorps   xmm1, xmm1                                                     ; +0x87, 0x140474d57\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x8a, 0x140474d5a\nmov     r8, rax                                                        ; +0x90, 0x140474d60\nlea     rdx, [rsp+58h+arg_10]                                          ; +0x93, 0x140474d63\nlea     rcx, [rsp+58h+arg_8]                                           ; +0x98, 0x140474d68\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x9d, 0x140474d6d\nmovss   xmm1, [rsp+58h+arg_0]                                          ; +0xa3, 0x140474d73\nlea     rcx, [rsp+58h+var_38]                                          ; +0xa9, 0x140474d79\nmovss   xmm0, dword ptr [rdi+2C4h]                                     ; +0xae, 0x140474d7e\nmovss   xmm2, [rsp+58h+arg_C]                                          ; +0xb6, 0x140474d86\nmulss   xmm1, xmm6                                                     ; +0xbc, 0x140474d8c\nmulss   xmm0, xmm6                                                     ; +0xc0, 0x140474d90\naddss   xmm1, xmm0                                                     ; +0xc4, 0x140474d94\nsubss   xmm1, cs:dword_14062324C                                       ; +0xc8, 0x140474d98\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xd0, 0x140474da0\nlea     rdx, [rsp+58h+arg_8]                                           ; +0xd6, 0x140474da6\nmov     rbx, rax                                                       ; +0xdb, 0x140474dab\nlea     rcx, [rsp+58h+var_30]                                          ; +0xde, 0x140474dae\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xe3, 0x140474db3\nmov     r9, rbx                                                        ; +0xe9, 0x140474db9\nlea     rdx, [rsp+58h+arg_10]                                          ; +0xec, 0x140474dbc\nmov     r8, rax                                                        ; +0xf1, 0x140474dc1\nmov     rcx, rdi                                                       ; +0xf4, 0x140474dc4\ncall    SetupTriggerPopup__createMultiTriggerItems                     ; +0xf7, 0x140474dc7\nmovaps  xmm6, [rsp+58h+var_28]                                         ; +0xfc, 0x140474dcc\nadd     rsp, 48h                                                       ; +0x101, 0x140474dd1\npop     rdi                                                            ; +0x105, 0x140474dd5\npop     rbx                                                            ; +0x106, 0x140474dd6\nretn                                                                   ; +0x107, 0x140474dd7", "xrefs": ["EditTriggersPopup::init @ 0x14028f213", "SetupEnterTriggerPopup::init @ 0x14028f44f", "SetTargetIDLayer::init @ 0x140402261", "SetupAdvFollowRetargetPopup::init @ 0x140408338", "SetupAnimationPopup::init @ 0x140409acc", "SetupCameraEdgePopup::init @ 0x140413978", "SetupCameraOffsetTrigger::init @ 0x140416623", "SetupCameraRotatePopup2::init @ 0x140417d08", "SetupCollisionTriggerPopup::init @ 0x140418ec6", "SetupInstantCollisionTriggerPopup::init @ 0x14041a5f9", "SetupEndPopup::init @ 0x14041d445", "SetupPlatformerEndPopup::init @ 0x14041dd96", "SetupInstantCountPopup::init @ 0x140422fa8", "SetupKeyframeAnimPopup::init @ 0x1404249f8", "SetupMGTrigger::init @ 0x1404281e0", "SetupBGSpeedTrigger::init @ 0x140428f89", "SetupGravityTriggerPopup::init @ 0x140429407", "SetupObjectTogglePopup::init @ 0x14042a287", "SetupOpacityPopup::init @ 0x14042b382", "SetupPickupTriggerPopup::init @ 0x1404371e8", "SetupRotateGameplayPopup::init @ 0x140441ece", "SetupGameplayOffsetPopup::init @ 0x14044220e", "SetupSFXPopup::init @ 0x14044746b", "SetupSFXEditPopup::init @ 0x14044985e", "SetupShakePopup::init @ 0x1404550d7", "SetupSpawnPopup::init @ 0x14045edc1", "SetupTimerTriggerPopup::init @ 0x140462010", "SetupTimerEventTriggerPopup::init @ 0x140462991", "SetupTimerControlTriggerPopup::init @ 0x140462f8e", "SetupEventLinkPopup::init @ 0x140466133", "SetupPlayerControlPopup::init @ 0x140467f7a", "SetupSpawnParticlePopup::init @ 0x140468688", "SetupCheckpointPopup::init @ 0x140469190", "SetupResetTriggerPopup::init @ 0x14046a91c", "SetupPersistentItemTriggerPopup::init @ 0x14046fc15", "SetupArtSwitchPopup::init @ 0x14047208d", "SetupStopTriggerPopup::init @ 0x140472917", "SetupObjectControlPopup::init @ 0x140473084", "SetupZoomTriggerPopup::init @ 0x14047e32f", "<???> @ 0x1406db4c8"], "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"}